Synchronization tweaks for IPC services (#2028)
* using sequentally consistent checks * making shutdown method synchronous * redndant line
This commit is contained in:
committed by
Arkadiy Paronyan
parent
b4f3c4bd7a
commit
3439c06a1c
@@ -42,7 +42,7 @@ pub struct ModuleState {
|
||||
|
||||
#[derive(Ipc)]
|
||||
pub trait ControlService {
|
||||
fn shutdown(&self);
|
||||
fn shutdown(&self) -> bool;
|
||||
}
|
||||
|
||||
#[derive(Ipc)]
|
||||
|
||||
Reference in New Issue
Block a user