Merge pull request #20 from Sashiri/undefined_type_fix

Fix process pause signature
This commit is contained in:
prime31 2021-10-14 14:38:43 -07:00 committed by GitHub
commit c93429bf3d

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;
}