| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| try | ||
| { | ||
| using var mutex = new System.Threading.Mutex(false, name); | ||
| return Marshal.GetLastWin32Error() == ERROR_ALREADY_EXISTS; |
There was a problem hiding this comment.
Patrick Meinecke (@SeeminglyScience) astutely pointed out this is bad, as we're not exactly making a system call when gettingn the mutex. It should be TryOpenExisting.
Sorry, something went wrong.
There was a problem hiding this comment.
And fixed. Thanks!
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, I just saw this after merging #4854. Please submit a new PR for the fix.
Sorry, something went wrong.
There was a problem hiding this comment.
I already updated this one 😄
Sorry, something went wrong.
Since we're not actually making a system call.
| Back | FazBrowse Home | New Git URL |
Since we're not actually making a system call.