From 456efb4d0ba33f07c836cc4c2d00da36b53eba13 Mon Sep 17 00:00:00 2001 From: Romain Reuillon Date: Tue, 10 Mar 2020 16:25:01 +0100 Subject: [PATCH] Fixes #194 --- src/main/org/nlogo/extensions/nw/NetworkExtension.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/org/nlogo/extensions/nw/NetworkExtension.scala b/src/main/org/nlogo/extensions/nw/NetworkExtension.scala index 8bf56e8..a6225f7 100644 --- a/src/main/org/nlogo/extensions/nw/NetworkExtension.scala +++ b/src/main/org/nlogo/extensions/nw/NetworkExtension.scala @@ -122,5 +122,8 @@ class NetworkExtension extends api.DefaultClassManager with GraphContextManager add("save-gexf", new SaveFileType(this, ".gexf")) add("save-gml", new SaveFileType(this, ".gml")) add("save-vna", new SaveFileType(this, ".vna")) + + // Forces load of Gephi classes to prevent potential class not found during unload + classOf[org.gephi.graph.dhns.core.Dhns].getName } }