reset inter-launch delay when a task is launched from the Console

This commit is contained in:
Richard Frith-Macdonald 2019-11-08 09:22:36 +00:00
parent fa6728fff0
commit aecd4f8323

View file

@ -1408,6 +1408,7 @@ NSLog(@"Problem %@", localException);
found = YES; found = YES;
if (nil != l) if (nil != l)
{ {
[l resetDelay];
[l setWhen: [NSDate date]]; [l setWhen: [NSDate date]];
[l setShutdown: NO]; [l setShutdown: NO];
} }
@ -1438,6 +1439,7 @@ NSLog(@"Problem %@", localException);
l = [LaunchInfo existing: key]; l = [LaunchInfo existing: key];
if (nil != l) if (nil != l)
{ {
[l resetDelay];
[l setWhen: [NSDate date]]; [l setWhen: [NSDate date]];
[l setShutdown: NO]; [l setShutdown: NO];
} }