2000-02-12 Manuel Guesdon <mguesdon@sbuilders.com>

* GSWApplication.m: move DESTROY(appAutoreleasePool);
                at the end of GSWApplicationMain to avoid bundle release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@5990 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2000-02-12 13:22:07 +00:00
parent 2f436ad6e1
commit 5240c62d10

View file

@ -298,13 +298,13 @@ int GSWApplicationMain(NSString* _applicationClassName,
}
NS_ENDHANDLER;
};
DESTROY(appAutoreleasePool);
if (result>=0 && GSWApp)
{
[GSWApp _setPool:[NSAutoreleasePool new]];
[GSWApp run];
DESTROY(GSWApp);
};
DESTROY(appAutoreleasePool);
return result;
};