My 2019R1.1 apps use a mutex to prevent multiple copies of the app from running simultaneously. I know this worked from my own use because when developing on the Mac, I would sometimes accidentally leave the current built app running while attempting to test changes in the debugger. The debug version would give up the ghost.
Now with 2019R2.1 on Mojave, this code is not working. In the debugger, I can see the mutex is not nil, but the if statement is returning false and not displaying the message dialog.
Did something change in regard to mutex as part of 2019R2.1? I see nothing in the release notes regarding this.
Protected Sub CheckMutex()
theMutex = new Mutex("BeyondCategory_SoundCatalog")
if not theMutex.TryEnter then
Dim d as New MessageDialog
Dim b as MessageDialogButton