apple / HomeKitADK

Apache License 2.0
2.55k stars 232 forks source link

Fix the server engine is not uninstalled when the server is released. #114

Closed zebin-wu closed 2 years ago

zebin-wu commented 2 years ago

The following code will never be executed when calling HAPAccessoryServerRelease().

if (server->transports.ip) {
    HAPNonnull(server->transports.ip)->serverEngine.uninstall();
}