Merge pull request #20 from Sashiri/undefined_type_fix
Fix process pause signature
This commit is contained in:
commit
c93429bf3d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user