Skip to content

Commit

Permalink
This probably won't work, but I'm not sure what will, right now, so l…
Browse files Browse the repository at this point in the history
…et's give it a try?
  • Loading branch information
dfellis committed Aug 9, 2021
1 parent ec89b6d commit d2894ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions avm/src/daemon/ctrl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ async fn dsmrun_inner(req: Request<Body>) -> DaemonResult<Arc<HandlerMemory>> {
drop(ds);
}
None => {
drop(maybe_hm);
res_hm.push_fixed(0, 0);
res_hm.push_fractal(
0,
Expand Down Expand Up @@ -761,6 +762,7 @@ async fn dsmwith_inner(req: Request<Body>) -> DaemonResult<Arc<HandlerMemory>> {
drop(ds);
}
None => {
drop(maybe_hm);
res_hm.push_fixed(0, 0);
res_hm.push_fractal(
0,
Expand Down Expand Up @@ -806,6 +808,7 @@ async fn dsmonly_inner(req: Request<Body>) -> DaemonResult<()> {
}
None => {
// Do nothing
drop(maybe_hm);
}
}
Ok(())
Expand Down Expand Up @@ -846,6 +849,7 @@ async fn dswonly_inner(req: Request<Body>) -> DaemonResult<()> {
}
None => {
// Do nothing
drop(maybe_hm);
}
}
Ok(())
Expand Down Expand Up @@ -946,6 +950,7 @@ async fn dsmclos_inner(req: Request<Body>) -> DaemonResult<Arc<HandlerMemory>> {
}
}
None => {
drop(maybe_hm);
hand_mem.push_fixed(ret_addr, 0)?;
hand_mem.push_fractal(
ret_addr,
Expand Down

0 comments on commit d2894ed

Please sign in to comment.