Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
theMackabu committed Nov 26, 2023
1 parent 09f3970 commit c97fae0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .maid/build.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[env]
VERSION='1.5.3'
VERSION='1.5.4'

[tasks.build_all]
info = "build all"
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pmc"
version = "1.5.3"
version = "1.5.4"
edition = "2021"
license = "MIT"
repository = "https://lab.themackabu.dev/self/pmc"
Expand Down
2 changes: 1 addition & 1 deletion Maidfile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import = [".maid/build.toml", ".maid/server.toml"]

[project]
name = "pmc"
version = "1.5.3"
version = "1.5.4"

[tasks]
clean = { script = ["rm -rf bin", "mkdir bin"] }
Expand Down
10 changes: 4 additions & 6 deletions src/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,11 @@ impl Runner {

pub fn stop(&mut self, id: usize) -> &mut Self {
let item = self.get(id);
let code = stop(item.pid);
stop(item.pid);

if code == 0 {
item.running = false;
item.crash.crashed = false;
item.crash.value = 0;
}
item.running = false;
item.crash.crashed = false;
item.crash.value = 0;

return self;
}
Expand Down

0 comments on commit c97fae0

Please sign in to comment.