diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 698a251..230371b 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8270,10 +8270,11 @@ fcgiDone: | |||
8270 | { | 8270 | { |
8271 | simData *simd = ini->get(ini, "SIM DATA", NULL, false); | 8271 | simData *simd = ini->get(ini, "SIM DATA", NULL, false); |
8272 | 8272 | ||
8273 | // NOTE - these sleeps are guesses, seems to work on my super desktop during testing. | ||
8273 | while (checkSimIsRunning(simd->tab)) | 8274 | while (checkSimIsRunning(simd->tab)) |
8274 | sleep(1); | 8275 | usleep(100000); |
8275 | sleep(1); | 8276 | usleep(10000); |
8276 | sendTmuxCmd(simd->paneID, "exit"); | 8277 | doTmuxCmd("kill-pane -t %s", simd->paneID); |
8277 | I("Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d - %s has stopped.", window, type, pane, simd->paneID, scTemp, count, simd->name); | 8278 | I("Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d - %s has stopped.", window, type, pane, simd->paneID, scTemp, count, simd->name); |
8278 | 8279 | ||
8279 | count++; | 8280 | count++; |