Fixed (again) the crash that happened when you quit the app_server in the test environment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14681 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-11-04 11:57:43 +00:00
parent 66d1795a86
commit 1be1c7ccdf
2 changed files with 4 additions and 1 deletions

View File

@ -136,7 +136,8 @@ AppServer::~AppServer()
gScreenManager->Lock(); gScreenManager->Lock();
gScreenManager->Quit(); gScreenManager->Quit();
delete gFontManager; gFontManager->Lock();
gFontManager->Quit();
} }

View File

@ -371,6 +371,8 @@ ViewHWInterface::~ViewHWInterface()
delete fBackBuffer; delete fBackBuffer;
delete fFrontBuffer; delete fFrontBuffer;
be_app->Lock();
be_app->Quit();
delete be_app; delete be_app;
} }