diff options
author | onefang | 2021-08-17 21:29:44 +1000 |
---|---|---|
committer | onefang | 2021-08-17 21:29:44 +1000 |
commit | bcd29a3312252820724040989f017a6635fb4f40 (patch) | |
tree | 3d64bc9d302e3d9f51e61340830b738900e08613 | |
parent | Memory leak-- (diff) | |
download | opensim-SC-bcd29a3312252820724040989f017a6635fb4f40.zip opensim-SC-bcd29a3312252820724040989f017a6635fb4f40.tar.gz opensim-SC-bcd29a3312252820724040989f017a6635fb4f40.tar.bz2 opensim-SC-bcd29a3312252820724040989f017a6635fb4f40.tar.xz |
Bitch if the sim has not stopped yet.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2428bab..5c69252 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2001,7 +2001,10 @@ byTab has the short name as the key, simData as the value. | |||
2001 | 2001 | ||
2002 | void stopSims(simData *simd, char *sim, char *type, int count, int window, int panes, int pane) | 2002 | void stopSims(simData *simd, char *sim, char *type, int count, int window, int panes, int pane) |
2003 | { | 2003 | { |
2004 | // TODO - should move onto others if this one takes too long, and come back later. | ||
2004 | // NOTE - these sleeps are guesses, seems to work on my super desktop during testing. | 2005 | // NOTE - these sleeps are guesses, seems to work on my super desktop during testing. |
2006 | if (checkSimIsRunning(simd->tab)) | ||
2007 | T("Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d - %s has NOT stopped YET.", window, type, pane, simd->paneID, scTemp, count, simd->name); | ||
2005 | while (checkSimIsRunning(simd->tab)) | 2008 | while (checkSimIsRunning(simd->tab)) |
2006 | usleep(100000); | 2009 | usleep(100000); |
2007 | usleep(10000); | 2010 | usleep(10000); |