mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
More Windows complaints.
This commit is contained in:
@ -997,7 +997,6 @@ impl SignalWait {
|
||||
/// Waits for the next thing to do.
|
||||
///
|
||||
/// Returns what to do.
|
||||
#[allow(clippy::needless_return)]
|
||||
pub fn wait(
|
||||
&mut self, runtime: &mut Runtime, timeout: Duration
|
||||
) -> UserSignal {
|
||||
@ -1052,7 +1051,7 @@ impl SignalWait {
|
||||
///
|
||||
/// Returns whether to continue working.
|
||||
pub fn wait(
|
||||
&self, _runtime: &mut Runtime, timeout: Duration
|
||||
&mut self, _runtime: &mut Runtime, timeout: Duration
|
||||
) -> UserSignal {
|
||||
std::thread::sleep(timeout);
|
||||
UserSignal::NoSignal
|
||||
|
Reference in New Issue
Block a user