diff --git a/EcCommand.m b/EcCommand.m index a316f67..7e6c02e 100644 --- a/EcCommand.m +++ b/EcCommand.m @@ -150,7 +150,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) - (void) cmdPing: (id )from sequence: (unsigned)num extra: (NSData*)data; -- (void) cmdQuit: (NSInteger)sig; +- (oneway void) cmdQuit: (NSInteger)sig; - (void) command: (NSData*)dat to: (NSString*)t from: (NSString*)f; @@ -707,7 +707,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) [from cmdGnip: self sequence: num extra: nil]; } -- (void) cmdQuit: (NSInteger)sig +- (oneway void) cmdQuit: (NSInteger)sig { if (sig == tStatus && control != nil) { diff --git a/EcConsole.m b/EcConsole.m index 26445db..5cbf1ab 100644 --- a/EcConsole.m +++ b/EcConsole.m @@ -98,7 +98,7 @@ static BOOL commandIsRepeat (NSString *string) return NO; // Not a client of the Command server } -- (void) cmdQuit: (NSInteger)sig +- (oneway void) cmdQuit: (NSInteger)sig { [timer invalidate]; timer = nil; diff --git a/EcControl.m b/EcControl.m index 2068d30..d30c1b5 100644 --- a/EcControl.m +++ b/EcControl.m @@ -342,7 +342,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) - (void) cmdPing: (id )from sequence: (unsigned)num extra: (NSData*)data; -- (void) cmdQuit: (NSInteger)status; +- (oneway void) cmdQuit: (NSInteger)status; - (void) command: (NSData*)dat from: (NSString*)f; - (BOOL) connection: (NSConnection*)ancestor @@ -494,7 +494,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos) [from cmdGnip: self sequence: num extra: nil]; } -- (void) cmdQuit: (NSInteger)status +- (oneway void) cmdQuit: (NSInteger)status { [sink shutdown]; exit (status); diff --git a/EcProcess.h b/EcProcess.h index b7f0e1f..b241b5b 100644 --- a/EcProcess.h +++ b/EcProcess.h @@ -713,7 +713,7 @@ extern NSString* cmdVersion(NSString *ver); * Subclasses should override this method to perform any pre-shutdown cleanup * before they call the superclass implementation. */ -- (void) cmdQuit: (NSInteger)status; +- (oneway void) cmdQuit: (NSInteger)status; /** Returns non-zero (a signal) if the process has received a unix signal. */ @@ -879,7 +879,7 @@ extern NSString* cmdVersion(NSString *ver); /** Should be over-ridden to perform extra tidy up on shutdown of the * process - should call [super cmdQuit:...] at the end of the method. */ -- (void) cmdQuit: (NSInteger)status; +- (oneway void) cmdQuit: (NSInteger)status; /** Used to tell your application about configuration changes (the * default implementation merges the configuration change into the diff --git a/EcProcess.m b/EcProcess.m index b32418b..89c8cbe 100644 --- a/EcProcess.m +++ b/EcProcess.m @@ -3630,7 +3630,7 @@ With two parameters ('maximum' and a number),\n\ va_end(ap); } -- (void) cmdQuit: (NSInteger)status +- (oneway void) cmdQuit: (NSInteger)status { if (reservedPipe[1] > 0) {