ethanhs / Explore10

Modern File Explorer
GNU General Public License v3.0
29 stars 9 forks source link

Closing Tabs in a certain order can crash #14

Closed Krutonium closed 8 years ago

Krutonium commented 8 years ago

var item = tabDynamic.Items.Cast().Where(i => i.Name.Equals(tabName)).SingleOrDefault();

In MainWindow.xaml.cs

Open a tab, switch to it, close the first, open a new tab, switch to it, close the first, crash.

Krutonium commented 8 years ago

Update: Seems that repeatedly closing any tab will cause this.

ethanhs commented 8 years ago

I would be concerned if you could repeatedly close a tab

Krutonium commented 8 years ago

I mean if you open a bunch and close the one in a certain spot multiple times.

ethanhs commented 8 years ago

This should be fixed with the new and improved tab logic. Re-open if it still exists.