mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
We call atom.destroyOrphans after each spec now to clean up any orphaned objects. Previously, we we destroying any object not reachable from the root document. This was causing children of orphaned objects to be removed from their parent, which caused null pointer exceptions when running the destroy handlers for the orphans. Now we only destroy the roots of orphaned object graphs.
4.6 KiB
4.6 KiB