update macos wifi refresh and logout clear

This commit is contained in:
2026-07-01 10:10:49 +07:00
parent b702287cfb
commit 0d1e240227
2 changed files with 13 additions and 7 deletions

View File

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