osx,fsevent: clear pointer when deleting it [NFCI]
Set this to NULL just before disposing it to make mistakes more painfully obvious, hopefully. PR-URL: https://github.com/libuv/libuv/pull/2626 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
c8a3f5c93c
commit
07ddcb3052
@ -747,6 +747,8 @@ static void* uv__cf_loop_runner(void* arg) {
|
||||
state->signal_source,
|
||||
*pkCFRunLoopDefaultMode);
|
||||
|
||||
state->loop = NULL;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user