mirror of
https://github.com/textmate/textmate.git
synced 2026-01-14 17:28:05 -05: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).