This commit is contained in:
clowwindy
2013-06-26 12:29:36 +08:00
parent 8c97fb8c44
commit ea6043de19

View File

@@ -51,17 +51,17 @@ void polipo_exit();
}
];
dispatch_queue_t web = dispatch_queue_create("web", NULL);
dispatch_async(web, ^{
@try {
dispatch_async(dispatch_get_main_queue(), ^{
[webServer startWithPort:8090 bonjourName:@"webserver"];
});
} @catch (NSException *e) {
NSLog(@"webserver quit with error: %@", e);
}
});
[webServer startWithPort:8090 bonjourName:@"webserver"];
// dispatch_queue_t web = dispatch_queue_create("web", NULL);
// dispatch_async(web, ^{
// @try {
// dispatch_async(dispatch_get_main_queue(), ^{
// });
// } @catch (NSException *e) {
// NSLog(@"webserver quit with error: %@", e);
// }
// });
self.networkActivityIndicatorManager = [[SWBNetworkActivityIndicatorManager alloc] init];