mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Fix DiscoveryManager for Init Fail
This commit is contained in:
parent
5c52f8b89c
commit
7481cd1bce
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ void DiscoveryManager::SetActive(bool active)
|
|||
ChiakiErrorCode err = chiaki_discovery_service_init(&service, &options, &log);
|
||||
if(err != CHIAKI_ERR_SUCCESS)
|
||||
{
|
||||
service_active = false;
|
||||
CHIAKI_LOGE(&log, "DiscoveryManager failed to init Discovery Service");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue