Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv29655/src/gui

Modified Files:
        wxFolderView.cpp 
Log Message:
added yet another check for the connection being lost unexpectedly

Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.585
retrieving revision 1.586
diff -b -u -2 -r1.585 -r1.586
--- wxFolderView.cpp    27 Apr 2002 20:58:10 -0000      1.585
+++ wxFolderView.cpp    14 May 2002 21:01:37 -0000      1.586
@@ -3645,4 +3645,13 @@
    // manually
    MEventManager::DispatchPending();
+
+   // the connection to the folder might have been lost in the meanwhile
+   mf = GetMailFolder();
+   if ( !mf )
+      return;
+
+   mf->DecRef();
+
+   // need to update?
    if ( GetHeadersCount() == 0 )
    {


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to