diff options
author | Max <post@wickenrode.com> | 2015-10-05 02:27:32 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-10-05 02:27:32 +0200 |
commit | d4641ec90fe1b50fca0256e26338d955290fd8b7 (patch) | |
tree | 78a44e25eadd6a3bbc5590d8f4831c8a621a9368 /Source/SPFunctions.h | |
parent | 80f8cae8ea9db39c1d4d4dee0bd7ae3f756ad62f (diff) | |
download | sequelpro-d4641ec90fe1b50fca0256e26338d955290fd8b7.tar.gz sequelpro-d4641ec90fe1b50fca0256e26338d955290fd8b7.tar.bz2 sequelpro-d4641ec90fe1b50fca0256e26338d955290fd8b7.zip |
Trying to fix a range of crashes when closing a connection window
Caused by a use-after-free of an unretained ivar
Diffstat (limited to 'Source/SPFunctions.h')
-rw-r--r-- | Source/SPFunctions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPFunctions.h b/Source/SPFunctions.h index f2ca9c7e..b68964ca 100644 --- a/Source/SPFunctions.h +++ b/Source/SPFunctions.h @@ -28,6 +28,10 @@ // // More info at <https://github.com/sequelpro/sequelpro> - +/** + * Synchronously execute a block on the main thread. + * This function can be called from a background thread as well as from + * the main thread. + */ void SPMainQSync(void (^block)(void)); |