Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16049/src/classes

Modified Files:
        MModule.cpp 
Log Message:
don't show error messages if module doesn't export cleanup function

Index: MModule.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MModule.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -b -u -2 -r1.93 -r1.94
--- MModule.cpp 2 Dec 2004 08:04:44 -0000       1.93
+++ MModule.cpp 2 Dec 2004 13:18:55 -0000       1.94
@@ -147,8 +147,11 @@
 
    // call cleanup function, if any
+   {
+      wxLogNull noLog;
    MModule_CleanUpFuncType funcCleanup =
       (MModule_CleanUpFuncType)dll->GetSymbol(MMODULE_CLEANUP_FUNCTION);
    if ( funcCleanup )
       (*funcCleanup)();
+   }
 
    // we can't unload the DLL right now because we're still executing in the



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to