Fix process pause signature

master
Sashiri 3 years ago
parent 2bc293066a
commit e4dc1dc9ca

@ -33,7 +33,7 @@ pub const Process = struct {
} }
/// Stops a process if it's in a running state /// Stops a process if it's in a running state
pub fn pause(self: *ParentType) void { pub fn pause(self: *Process) void {
if (self.state == .running) self.state = .paused; if (self.state == .running) self.state = .paused;
} }

Loading…
Cancel
Save