From d40edcae69092ab02fc302066a0aa968843fc963 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 5 Nov 2015 20:50:10 -0500 Subject: [PATCH] null xline manager when removing so removexline doesn't get called --- src/xline.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xline.cpp b/src/xline.cpp index 2e48283d0..49341072f 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -337,6 +337,7 @@ bool XLineManager::DelXLine(XLine *x) { this->SendDel(x); + x->manager = NULL; // Don't call remove delete x; this->xlines->erase(it);