Skip to content

Commit

Permalink
Merge pull request #2812 from terra-money/bugfix/instantiate-drop-order
Browse files Browse the repository at this point in the history
change host_state drop order for InstanceHandle
  • Loading branch information
syrusakbary authored Mar 7, 2022
2 parents 7fbaf6f + 646a405 commit b04a41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/sys/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl Module {
let instance_handle = self.artifact.instantiate(
self.store.tunables(),
resolver,
Box::new((self.store.clone(), self.artifact.clone())),
Box::new(self.clone()),
)?;

// After the instance handle is created, we need to initialize
Expand Down

0 comments on commit b04a41d

Please sign in to comment.