Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Braunsperger committed Feb 2, 2024
1 parent 9413a88 commit d979a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/manual_close_frees_lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![cfg(feature = "netcore3_0")]

use std::rc::Rc;
use std::sync::Arc;

use netcorehost::nethost;
use rusty_fork::rusty_fork_test;
Expand All @@ -18,7 +18,7 @@ rusty_fork_test! {
.initialize_for_runtime_config(common::test_runtime_config_path())
.unwrap();

let weak = Rc::downgrade(&hostfxr.lib);
let weak = Arc::downgrade(&hostfxr.lib);
drop(hostfxr);
context.close().unwrap();

Expand Down

0 comments on commit d979a19

Please sign in to comment.