Fix process pause signature

This commit is contained in:
Sashiri 2021-10-14 22:59:22 +02:00
parent 2bc293066a
commit e4dc1dc9ca

View File

@ -33,7 +33,7 @@ pub const Process = struct {
}
/// 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;
}