mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-21 02:41:11 +00:00
Add -terminate method so that an individual process can be killed using the Terminate tool.
This commit is contained in:
parent
ddf15e3626
commit
37461100dd
1 changed files with 7 additions and 0 deletions
|
@ -5803,6 +5803,13 @@ With two parameters ('maximum' and a number),\n\
|
|||
|
||||
return ([server multiple] == nil) ? NO : YES;
|
||||
}
|
||||
|
||||
/* Allow the process to be terminated using the same API as Command server
|
||||
*/
|
||||
- (oneway void) terminate
|
||||
{
|
||||
[self ecQuitFor: @"external -terminate: requested" with: 0];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue