SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 1c8397e8f3931f1197af9f1a69923732c631f859 parent f145f05f1572df9dc7f8287644dd99068fa3b55b Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 24 Feb 2023 19:13:11 +0200 Prevent the console window from remaining open and orphaned in rare edge conditions Diffstat:
| M | Cocoa/Document.m | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Cocoa/Document.m b/Cocoa/Document.m @@ -1155,6 +1155,9 @@ static bool is_path_writeable(const char *path) [[NSUserDefaults standardUserDefaults] setInteger:self.mainWindow.frame.size.height forKey:@"LastWindowHeight"]; } [self stop]; + [console_output_lock lock]; + [console_output_timer invalidate]; + [console_output_lock unlock]; [self.consoleWindow close]; [self.memoryWindow close]; [self.vramWindow close];
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.