Merge pull request #20 from Sashiri/undefined_type_fix

Fix process pause signature
master
prime31 3 years ago committed by GitHub
commit c93429bf3d

@ -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