- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- (void) findFileTimeout: (NSTimer *) t {
[detectFileTimerTimeout invalidate];
detectFileTimerTimeout = nil;
[detectFileTimer invalidate];
detectFileTimer = nil;
[WriteToLog WriteToLog:@"Timeout reached!"];
[WriteToLog WriteToLog:@"Closing..."];
exit(0);
[NSApp terminate:nil];
[[NSApplication sharedApplication] terminate:nil];
}