Index: trunk/BNC/src/bncwindow.cpp
===================================================================
--- trunk/BNC/src/bncwindow.cpp	(revision 5236)
+++ trunk/BNC/src/bncwindow.cpp	(revision 5237)
@@ -2968,6 +2968,16 @@
 void bncWindow::slotMapPPPClosed() {
 #ifdef QT_WEBKIT
-  delete _mapWin;
-  _mapWin = 0;
+  if (_mapWin) {
+    QListIterator<bncGetThread*> it(_threads);
+    while (it.hasNext()) {
+      bncGetThread* thread = it.next();
+      thread->disconnect(_mapWin);
+    }
+    if (_postProcessing) {
+      _postProcessing->disconnect(_mapWin);
+    }
+    delete _mapWin;
+    _mapWin = 0;
+  }
   slotBncTextChanged();
 #endif
