mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2026-01-09 18:11:42 +01:00
JBR-6911 IDE crashes (EXC_BAD_ACCESS) after disconnecting the secondary display if a markdown file is opened (macOS Sonoma 14.4.1)
Corrected invalid usage of dealloc method, fixed memory leaks.
(cherry picked from commit 8697cfb660)
This commit is contained in:
committed by
Nikita Gubarkov
parent
943566c281
commit
e2af64ca4b
@@ -255,8 +255,11 @@ union StateIndex {
|
||||
}
|
||||
|
||||
- (void) dealloc {
|
||||
[super dealloc];
|
||||
[computeStates release];
|
||||
self.library = nil;
|
||||
self.shaders = nil;
|
||||
self.states = nil;
|
||||
[super dealloc];
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user