Do signal masking before thread creation

This commit is contained in:
Iwan Timmer
2019-02-17 22:03:14 +01:00
parent 292a26d6ad
commit d7ac8654e5
3 changed files with 11 additions and 6 deletions

View File

@@ -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);