Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Commit

Permalink
Don't restart the app when the session ends.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Holland committed Jun 24, 2010
1 parent 3ae4f16 commit b8f30b7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions WaxSim.m
Expand Up @@ -80,13 +80,8 @@ int main(int argc, char *argv[]) {
NSString *familyString = family ? [NSString stringWithUTF8String:family] : nil;
NSString *appPathString = [NSString stringWithUTF8String:appPath];

while (true) {
gReset = false;
simulate(sdkString, familyString, appPathString, environment, additionalArgs);

simulate(sdkString, familyString, appPathString, environment, additionalArgs);
printf("\n\nREBOOT\n", appPath);
}

return 0;
}

Expand All @@ -112,5 +107,4 @@ void printUsage() {

void resetSignal(int sig) {
gReset = true;
signal(sig, resetSignal);
}

0 comments on commit b8f30b7

Please sign in to comment.