mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
We could call pop_callback before having pushed one because the latter is done after delay. The way we obtained a weak reference to ourself was also scoped incorrectly so our block effectively had a strong reference to self. Lastly when disabling observeSCMStatus we should destroy the SCM handle rather than only remove our callback (since we do not re-use the handle).