Disable connection termination callbacks when LiStopConnection is called
This commit is contained in:
parent
551834a021
commit
8671e4e7ae
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ const char* LiGetStageName(int stage) {
|
|||
|
||||
/* Stop the connection by undoing the step at the current stage and those before it */
|
||||
void LiStopConnection(void) {
|
||||
// Disable termination callbacks now
|
||||
alreadyTerminated = 1;
|
||||
|
||||
if (stage == STAGE_INPUT_STREAM_START) {
|
||||
Limelog("Stopping input stream...");
|
||||
stopInputStream();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue