ide/watches: Fixed crash on exit when debugging and a watch is present (#879)
authorJerome St-Louis <jerome@ecere.com>
Sat, 27 Apr 2013 19:29:26 +0000 (15:29 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 27 Apr 2013 19:29:26 +0000 (15:29 -0400)
ide/src/panels/WatchesView.ec

index 5a128ad..b09fe90 100644 (file)
@@ -155,6 +155,11 @@ class WatchesView : Window
       row.SetData(expressionField, null);
       row.SetData(typeField, null);
       row.SetData(valueField, null);
+      if(ide.workspace)
+      {
+         for(w : ide.workspace.watches)
+            w.row = null;
+      }
    }
 }