mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +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 */
|
/* Stop the connection by undoing the step at the current stage and those before it */
|
||||||
void LiStopConnection(void) {
|
void LiStopConnection(void) {
|
||||||
|
// Disable termination callbacks now
|
||||||
|
alreadyTerminated = 1;
|
||||||
|
|
||||||
if (stage == STAGE_INPUT_STREAM_START) {
|
if (stage == STAGE_INPUT_STREAM_START) {
|
||||||
Limelog("Stopping input stream...");
|
Limelog("Stopping input stream...");
|
||||||
stopInputStream();
|
stopInputStream();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user