diff options
Diffstat (limited to 'embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java')
-rw-r--r-- | embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java b/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java index 277c505..8a72abe 100644 --- a/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java +++ b/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java @@ -89,6 +89,7 @@ public class TestCustomIOProc extends IOProcessor { public IOProcessor create(Interpreter interpreter) { TestCustomIOProc ioProc = new TestCustomIOProc(); ioProc.interpreter = interpreter; + ioProc.swigReleaseOwnership(); return ioProc; } @@ -102,7 +103,7 @@ public class TestCustomIOProc extends IOProcessor { TestCustomIOProc ioproc = new TestCustomIOProc(); // just register prototype at global factory Factory.getInstance().registerIOProcessor(ioproc); - + String xml = "<scxml>" + " <state id=\"s1\">" + |