mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-05 00:04:17 +08:00
Added ARC support
This commit is contained in:
@@ -81,7 +81,9 @@ int main(int argc, const char* argv[]) {
|
||||
|
||||
}
|
||||
success = [webServer runWithPort:8080];
|
||||
#if !__has_feature(objc_arc)
|
||||
[webServer release];
|
||||
#endif
|
||||
}
|
||||
return success ? 0 : -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user