-- remove unneeded portions of memmgr, move remaining bits to bongoutil
-- refactor a little bit of code
This commit is contained in:
@@ -565,13 +565,9 @@ MsgLibraryInit(void)
|
||||
XplOpenLocalSemaphore(MsgGlobal.sem.shutdown, 0);
|
||||
XplMutexInit(MsgGlobal.sem.uid);
|
||||
|
||||
MemoryManagerOpen(NULL);
|
||||
|
||||
if (!MsgReadConfiguration()) {
|
||||
XplConsolePrintf("Cannot read configuration. Shutting down.\n");
|
||||
|
||||
MemoryManagerClose(NULL);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -602,8 +598,6 @@ MsgLibraryShutdown(void)
|
||||
|
||||
MsgLibraryStop();
|
||||
|
||||
MemoryManagerClose(NULL);
|
||||
|
||||
MSGAPIState = LIBRARY_SHUTDOWN;
|
||||
|
||||
XplSetThreadGroupID(oldGid);
|
||||
|
||||
Reference in New Issue
Block a user