Close all related windows when closing a document

This commit is contained in:
Lior Halphon 2021-03-01 22:58:52 +02:00
parent ea97c1dc0b
commit 4d67fa8e80

View File

@ -865,6 +865,10 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
[[NSUserDefaults standardUserDefaults] setInteger:self.mainWindow.frame.size.height forKey:@"LastWindowHeight"];
[self stop];
[self.consoleWindow close];
[self.memoryWindow close];
[self.vramWindow close];
[self.printerFeedWindow close];
[self.cheatsWindow close];
[super close];
}