mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
Avoid crash on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30040 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b81a5fcc0b
commit
06128fc67c
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-03-03 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/ObjectiveC2/sync.m: Avoid crash on Windows.
|
||||
|
||||
2010-03-25 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/GSPThread.h
|
||||
|
|
|
@ -102,7 +102,9 @@ deallocLockClass(id obj, SEL _cmd)
|
|||
|
||||
pthread_mutex_destroy(lock);
|
||||
// Free the class
|
||||
#ifndef __MINGW32__
|
||||
objc_disposeClassPair(lockClass);
|
||||
#endif
|
||||
// Reset the class then call the real -dealloc
|
||||
obj->isa = realClass;
|
||||
[obj dealloc];
|
||||
|
|
Loading…
Reference in a new issue