mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-03 06:16:04 +00:00
Disable connection termination callbacks when LiStopConnection is called
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user