[wpdev-commits] wolfpack/network asyncnetio.cpp,1.51,1.52
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-19 15:34:41
|
Update of /cvsroot/wpdev/wolfpack/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32489/network Modified Files: asyncnetio.cpp Log Message: Crashfix. Index: asyncnetio.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/network/asyncnetio.cpp,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** asyncnetio.cpp 19 Sep 2004 04:00:35 -0000 1.51 --- asyncnetio.cpp 19 Sep 2004 15:34:29 -0000 1.52 *************** *** 685,688 **** --- 685,692 ---- d->wba.clear(); d->wba.setAutoDelete(TRUE); + + if (d->ewba.count() == 0) { + return; + } // Before we continue, we should guarantee no one writes packets to the buffer. |