restart after shutdown

This commit is contained in:
Jesús A. Álvarez 2016-06-30 22:35:05 +02:00
parent 0f1d73bd89
commit 118bfccca9
1 changed files with 4 additions and 1 deletions

View File

@ -1744,11 +1744,14 @@ static dispatch_once_t onceToken;
- (void)run {
ZapOSGLUVars();
if (InitOSGLU()) {
ProgramMain();
}
UnInitOSGLU();
if (ForceMacOff) {
ForceMacOff = falseblnr;
[self performSelector:_cmd withObject:nil afterDelay:0.5];
}
}
- (NSInteger)initialSpeed {