[wpdev-commits] wolfpack/python global.cpp,1.158,1.159
Brought to you by:
rip,
thiagocorrea
From: Correa <thi...@us...> - 2004-09-19 16:50:55
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15643/python Modified Files: global.cpp Log Message: - Fix crash under windows when the server terminates unexpectedly - Exceptions should always be caught by reference. Index: global.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v retrieving revision 1.158 retrieving revision 1.159 diff -C2 -d -r1.158 -r1.159 *** global.cpp 16 Sep 2004 18:45:02 -0000 1.158 --- global.cpp 19 Sep 2004 16:50:41 -0000 1.159 *************** *** 2261,2265 **** result = PersistentBroker::instance()->query( query ); } ! catch ( QString e ) { PyMem_Free( query ); --- 2261,2265 ---- result = PersistentBroker::instance()->query( query ); } ! catch ( QString& e ) { PyMem_Free( query ); |