mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-22 11:33:11 +00:00
Game quit fix
This commit is contained in:
parent
d2a0eb03c5
commit
b15127d2a8
1 changed files with 4 additions and 2 deletions
|
@ -180,8 +180,10 @@ void GameStreamClient::quit(const std::string &address, ServerCallback<bool> cal
|
|||
return;
|
||||
}
|
||||
|
||||
perform_async([this, address, callback] {
|
||||
int status = gs_quit_app(&m_server_data[address]);
|
||||
auto server_data = m_server_data[address];
|
||||
|
||||
perform_async([this, server_data, callback] {
|
||||
int status = gs_quit_app((PSERVER_DATA)&server_data);
|
||||
|
||||
nanogui::async([this, callback, status] {
|
||||
if (status == GS_OK) {
|
||||
|
|
Loading…
Reference in a new issue