Fix reentrant close

This commit is contained in:
Matthias Neeracher 2007-04-20 05:33:58 +00:00
parent 08a756e0ab
commit 6e92752255
3 changed files with 3 additions and 2 deletions

View File

@ -8,10 +8,10 @@
<string>460.0</string> <string>460.0</string>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>144</integer>
<integer>196</integer>
<integer>216</integer> <integer>216</integer>
<integer>144</integer>
<integer>5</integer> <integer>5</integer>
<integer>196</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>9A412</string> <string>9A412</string>

Binary file not shown.

View File

@ -113,6 +113,7 @@
- (void) close - (void) close
{ {
[observers makeObjectsPerformSelector:@selector(removeObservers:) withObject:self]; [observers makeObjectsPerformSelector:@selector(removeObservers:) withObject:self];
[observers removeAllObjects];
[super close]; [super close];
} }