De-register spec app for notifications first.

This commit is contained in:
Eloy Durán
2013-12-20 12:21:30 +01:00
parent 2033869ea3
commit 210567d344
2 changed files with 3 additions and 3 deletions

View File

@@ -456,10 +456,10 @@ EOS
- (void)appLaunched:(id)notification
{
// Give a bit of time for the simulator to attach...
[self performSelector:@selector(runSpecs) withObject:nil afterDelay:0.3];
// unregister observer to avoid duplicate invocation
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidBecomeActiveNotification object:nil];
// Give a bit of time for the simulator to attach...
[self performSelector:@selector(runSpecs) withObject:nil afterDelay:0.3];
}
- (void)runSpecs

2
vm

Submodule vm updated: f85eebc4f4...0c2d1aa351