mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Disable connection termination callbacks when LiStopConnection is called
This commit is contained in:
parent
551834a021
commit
8671e4e7ae
@ -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…
x
Reference in New Issue
Block a user