You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Reproduce and fix repeated watch-close failure on OS-X (#393)
Previously after ~100 iterations, the provided `test("openClose")` case
stops receiving events from OS-X. Presumably we must be leaking
something
Moving most of the relevant `CarbonApi()` calls into the `run` method so
they all run on the same thread seems to make the problem go away. We
still need one call running in constructor body for some reason, even if
it doesn't do anything, because otherwise the calls in the `run` method
seem to hang
The test case hangs on my macbook without this PR, passes with