Files
atom/spec
Antonio Scandurra ed9a101de2 Fix destroying a PanelContainer containing multiple panels
Previously, when calling `destroy` on a `PanelContainer` containing
multiple panels, Atom would throw a `Cannot read property 'destroy' of
undefined` exception. This was due to iterating over the panels while at
the same time destroying them, which caused the iterated array to be
modified during the loop.

With this commit we slice the array before iterating over it so that
destroying a `PanelContainer` doesn't throw exceptions anymore.
2017-03-04 15:39:38 +01:00
..
2016-12-14 13:30:34 -07:00
2017-01-14 09:04:49 -08:00
2016-08-25 22:44:57 -04:00
🎨
2016-03-25 16:37:01 +01:00
2016-10-27 10:57:48 -07:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
👕
2016-12-22 16:39:40 -08:00
2016-03-01 10:56:03 -05:00