mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-21 02:41:11 +00:00
fix missing clear
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@38060 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
055b0ff2f9
commit
74fab1295d
3 changed files with 23 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-09-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* EcProcess.m: Fix missing clear after unable to register with name
|
||||
server.
|
||||
|
||||
2014-09-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* EcControl.m: If a Command server on a host registers and we already
|
||||
|
|
|
@ -153,7 +153,8 @@
|
|||
return nil;
|
||||
}
|
||||
when = [[NSDate alloc] initWithTimeIntervalSinceNow: 0.1];
|
||||
[[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode beforeDate: when];
|
||||
[[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode
|
||||
beforeDate: when];
|
||||
[when release];
|
||||
}
|
||||
}
|
||||
|
@ -311,7 +312,8 @@
|
|||
return;
|
||||
}
|
||||
when = [[NSDate alloc] initWithTimeIntervalSinceNow: 0.1];
|
||||
[[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode beforeDate: when];
|
||||
[[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode
|
||||
beforeDate: when];
|
||||
[when release];
|
||||
}
|
||||
}
|
||||
|
|
14
EcProcess.m
14
EcProcess.m
|
@ -2349,6 +2349,20 @@ NSLog(@"Ignored attempt to set timer interval to %g ... using 10.0", interval);
|
|||
[arp release];
|
||||
return 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
EcAlarm *a;
|
||||
|
||||
a = [EcAlarm alarmForManagedObject: nil
|
||||
at: nil
|
||||
withEventType: EcAlarmEventTypeProcessingError
|
||||
probableCause: EcAlarmSoftwareProgramAbnormallyTerminated
|
||||
specificProblem: @"Unable to register"
|
||||
perceivedSeverity: EcAlarmSeverityCleared
|
||||
proposedRepairAction: nil
|
||||
additionalText: nil];
|
||||
[self alarm: a];
|
||||
}
|
||||
|
||||
[c setDelegate: self];
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
|
|
Loading…
Reference in a new issue