mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-13 11:26:25 +00:00
Do signal masking before thread creation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* This file is part of Moonlight Embedded.
|
||||
*
|
||||
* Copyright (C) 2015-2017 Iwan Timmer
|
||||
* Copyright (C) 2015-2019 Iwan Timmer
|
||||
*
|
||||
* Moonlight is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -121,6 +121,9 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
connection_debug = true;
|
||||
}
|
||||
|
||||
if (IS_EMBEDDED(system))
|
||||
loop_init();
|
||||
|
||||
platform_start(system);
|
||||
LiStartConnection(&server->serverInfo, &config->stream, &connection_callbacks, platform_get_video(system), platform_get_audio(system, config->audio_device), NULL, drFlags, config->audio_device, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user