mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-11 08:21:00 +00:00
nil the delegates of the split-view, avoid a crash on close window.
This commit is contained in:
parent
fdebc6367f
commit
63af855c24
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2022-01-16 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCProjectWindow.m
|
||||
nil the delegates of the split-view, avoid a crash on close window.
|
||||
|
||||
2022-01-12 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Editors/ProjectCenter/PCEditor.h
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
/*
|
||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||
|
||||
Copyright (C) 2000-2014 Free Software Foundation
|
||||
Copyright (C) 2000-2023 Free Software Foundation
|
||||
|
||||
Authors: Philippe C.D. Robert
|
||||
Serg Stoyan
|
||||
Riccardo Mottola
|
||||
|
||||
This file is part of GNUstep.
|
||||
|
||||
|
@ -260,6 +261,8 @@
|
|||
- (void)dealloc
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
[h_split setDelegate:nil];
|
||||
[v_split setDelegate:nil];
|
||||
[projectWindow close];
|
||||
|
||||
[super dealloc];
|
||||
|
|
Loading…
Reference in a new issue