Commit 9f0508d 1 parent f5f7ee7 commit 9f0508d Copy full SHA for 9f0508d
File tree 1 file changed +5
-5
lines changed
implementations/rust/ockam/ockam_api/src/nodes/service
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ impl Drop for InMemoryNode {
60
60
executor:: block_on ( async {
61
61
// We need to recreate the CliState here to make sure that
62
62
// we get a fresh connection to the database (otherwise this code blocks)
63
- // let cli_state = CliState::create(self.cli_state.dir()).await.unwrap();
64
- // cli_state
65
- // .remove_node(&self.node_name)
66
- // .await
67
- // .unwrap_or_else(|e| panic!("cannot delete the node {}: {e:?}", self.node_name));
63
+ let cli_state = CliState :: create ( self . cli_state . dir ( ) ) . await . unwrap ( ) ;
64
+ cli_state
65
+ . remove_node ( & self . node_name )
66
+ . await
67
+ . unwrap_or_else ( |e| panic ! ( "cannot delete the node {}: {e:?}" , self . node_name) ) ;
68
68
} ) ;
69
69
}
70
70
}
You can’t perform that action at this time.
0 commit comments