update macos wifi refresh and logout clear
This commit is contained in:
@@ -26,7 +26,7 @@ CWifiInfo GetCurrentWifiInfo() {
|
||||
info.bssid = NULL;
|
||||
|
||||
@autoreleasepool {
|
||||
CWWiFiClient *client = [CWWiFiClient sharedWiFiClient];
|
||||
CWWiFiClient *client = [[CWWiFiClient alloc] init];
|
||||
if (client != nil) {
|
||||
CWInterface *interface = [client interface];
|
||||
if (interface != nil) {
|
||||
|
||||
Reference in New Issue
Block a user