summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/process/UserCodeProcess.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/com/c2kernel/process/UserCodeProcess.java')
-rw-r--r--source/com/c2kernel/process/UserCodeProcess.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/com/c2kernel/process/UserCodeProcess.java b/source/com/c2kernel/process/UserCodeProcess.java
index 9c2deab..7779802 100644
--- a/source/com/c2kernel/process/UserCodeProcess.java
+++ b/source/com/c2kernel/process/UserCodeProcess.java
@@ -125,7 +125,7 @@ public class UserCodeProcess extends StandardClient implements EntityProxyObserv
// shut down
try
{
- standardTearDown();
+ Gateway.close();
}
catch( Exception ex )
{
@@ -196,7 +196,7 @@ public class UserCodeProcess extends StandardClient implements EntityProxyObserv
try
{
- standardSetUp(args);
+ Gateway.init(readC2KArgs(args), false);
UserCodeProcess proc = getInstance();
new Thread(proc).start();
Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
@@ -212,7 +212,7 @@ public class UserCodeProcess extends StandardClient implements EntityProxyObserv
try
{
- standardTearDown();
+ Gateway.close();
}
catch(Exception ex1)
{