python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Weird resource leak related to gulpfile or git or cmd prompt
I have a gulpfile in a project directory. I use gulp frequently and this file is similar to my different gulpfile's that I've used many times before.
I first became aware of this problem when I tried ...

dgo
Votes: 0
Answers: 0
Leaking handles when using std::shared_mutex in Windows
Same question here:
Memory leaks using shared_mutex
but in Windows 11.
The Windows handles are not being closed.
#include <iostream>
using namespace std;
#include <shared_mutex>
extern &...
Bil_Bomba
Votes: 0
Answers: 0
FileSystems.getDefault().getPath() vs Paths.get() and resource leakage
If I use FileSystems.getDefault().getPath() it holds resource at FileSystems.getDefault(). Few tools like sonar, coverity give high impact issues of resource leak for using this.
If I replace it with ...

firoj_mujawar
Votes: 0
Answers: 1