diff options
| author | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-10-18 17:00:33 +0200 |
| commit | 684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch) | |
| tree | f3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /source/com/c2kernel/process/UserCodeProcess.java | |
| parent | 38d30cd4f69178cef983ec13262a6f02826a9a45 (diff) | |
Module support
Diffstat (limited to 'source/com/c2kernel/process/UserCodeProcess.java')
| -rw-r--r-- | source/com/c2kernel/process/UserCodeProcess.java | 6 |
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)
{
|
