More fixes - Alex
[terminatorX.git] / src / tX_vtt.cc
index 04fa6fdb44032a870979ea2839b3ffa6b282da48..8fd7f0b97e22f841f0ce53dd95663d6c93c988d5 100644 (file)
@@ -207,6 +207,10 @@ vtt_class :: ~vtt_class()
                delete effect;
        }
        
+       if (sync_master==this) {
+               sync_master=NULL;
+       }
+       
        delete_gui(this);
 }