Fix release build compile error caused by recent RefreshTimer refactoring.
This commit is contained in:
parent
60a028498c
commit
476bd7ec56
|
@ -151,15 +151,15 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||||
self.toggleInspectorWindow(self)
|
self.toggleInspectorWindow(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
refreshTimer = RefreshTimer(delegate: self)
|
||||||
|
|
||||||
#if RELEASE
|
#if RELEASE
|
||||||
debugMenuItem.menu?.removeItem(debugMenuItem)
|
debugMenuItem.menu?.removeItem(debugMenuItem)
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.timedRefresh(nil)
|
self.refreshTimer!.timedRefresh(nil)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
refreshTimer = RefreshTimer(delegate: self)
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
refreshTimer!.update()
|
refreshTimer!.update()
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue