Skip to content

Commit

Permalink
trace
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 24, 2024
1 parent 2975019 commit 6f6e10c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rs/pocket_ic_server/src/state_api/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,7 @@ impl ApiState {
.insert(op_id.clone(), (new_state_label, result.clone()));
drop(graph_guard);
let mut instance = instances[instance_id].blocking_lock();
println!("grabbed instance: old={:?} op_id={:?}", old_state_label, op_id);
if let InstanceState::Deleted = &instance.state {
error!("The instance is deleted immediately after an operation. This is a bug!");
std::mem::drop(pocket_ic);
Expand Down

0 comments on commit 6f6e10c

Please sign in to comment.