diff options
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 57d1149..0aa0bf2 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -7931,7 +7931,9 @@ jit library is loaded or the JIT compiler will not be activated. | |||
7931 | sendTmuxCmd("@0.%0", "quit"); | 7931 | sendTmuxCmd("@0.%0", "quit"); |
7932 | while (checkSimIsRunning("ROBUST")) | 7932 | while (checkSimIsRunning("ROBUST")) |
7933 | usleep(100000); | 7933 | usleep(100000); |
7934 | usleep(10000); | 7934 | usleep(100000); |
7935 | sendTmuxCmd("@0.%0", "exit"); | ||
7936 | usleep(100000); | ||
7935 | sendTmuxCmd("@0.%0", "exit"); | 7937 | sendTmuxCmd("@0.%0", "exit"); |
7936 | I("ROBUST has stopped in tmux ID @0.%%0."); | 7938 | I("ROBUST has stopped in tmux ID @0.%%0."); |
7937 | } | 7939 | } |
@@ -7962,8 +7964,20 @@ jit library is loaded or the JIT compiler will not be activated. | |||
7962 | doTmuxCmd("kill-pane -t %s", q0->v.s); | 7964 | doTmuxCmd("kill-pane -t %s", q0->v.s); |
7963 | } | 7965 | } |
7964 | IDs->unlock(IDs); | 7966 | IDs->unlock(IDs); |
7965 | freeLuaTree(IDs); | ||
7966 | 7967 | ||
7968 | I("Closing the original window."); | ||
7969 | memset((void*)&obj0, 0, sizeof(obj0)); | ||
7970 | IDs->lock(IDs); | ||
7971 | while(IDs->getnext(IDs, &obj0, false) == true) | ||
7972 | { | ||
7973 | qLua *q0 = obj0.data; | ||
7974 | |||
7975 | if ('0' == q0->v.s[1]) | ||
7976 | doTmuxCmd("kill-pane -t %s", q0->v.s); | ||
7977 | } | ||
7978 | IDs->unlock(IDs); | ||
7979 | |||
7980 | freeLuaTree(IDs); | ||
7967 | } | 7981 | } |
7968 | else if (START == currentMode) | 7982 | else if (START == currentMode) |
7969 | { | 7983 | { |