Commit 9a85b737 authored by Soomin Lee's avatar Soomin Lee

AppDelegate: Move HTTPUploaderController clean

parent 98e4fda6
......@@ -27,6 +27,10 @@ class Services: NSObject {
self.playerController = VLCPlayerDisplayController(services: services)
super.init()
setupPlayerController()
// Init the HTTP Server and clean its cache
// FIXME: VLCHTTPUploaderController should perhaps be a service?
VLCHTTPUploaderController.sharedInstance().cleanCache()
}
private func setupPlayerController() {
......
......@@ -97,9 +97,6 @@
[VLCApperanceManager setupAppearanceWithTheme:PresentationTheme.current];
// Init the HTTP Server and clean its cache
[[VLCHTTPUploaderController sharedInstance] cleanCache];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
rootViewController = [UITabBarController new];
self.window.rootViewController = rootViewController;
......
......@@ -26,3 +26,4 @@
#import "IASKSettingsTableViewController+Protected.h"
#import "IASKSettingsReader.h"
#import "IASKSwitch.h"
#import "VLCHTTPUploaderController.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment