Skip to content
Snippets Groups Projects
Commit 4be29cf7 authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

Resolving bug on graph viz

parent 52cca2a6
No related branches found
No related tags found
No related merge requests found
...@@ -212,6 +212,7 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable ...@@ -212,6 +212,7 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
// to avoid 100% CPU usage. The blockingPump() method is only available from // to avoid 100% CPU usage. The blockingPump() method is only available from
// the nightly builds. // the nightly builds.
} }
//viewPipe = null;
} }
...@@ -224,8 +225,14 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable ...@@ -224,8 +225,14 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
} }
public void viewClosed(String id) { public void viewClosed(String id) {
TraceManager.addDev("View closed"); TraceManager.addDev("View closed and closed !");
loop = false; loop = false;
if (viewer != null) {
viewer.close();
viewer.disableAutoLayout();
}
viewer = null;
vGraph.clear();
if (exitOnClose) { if (exitOnClose) {
System.exit(1); System.exit(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment