Skip to content

Commit 1a36e36

Browse files
committed
Fix tests
1 parent a7f0d8e commit 1a36e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/manual_close_frees_lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![cfg(feature = "netcore3_0")]
22

3-
use std::rc::Rc;
3+
use std::sync::Arc;
44

55
use netcorehost::nethost;
66
use rusty_fork::rusty_fork_test;
@@ -18,7 +18,7 @@ rusty_fork_test! {
1818
.initialize_for_runtime_config(common::test_runtime_config_path())
1919
.unwrap();
2020

21-
let weak = Rc::downgrade(&hostfxr.lib);
21+
let weak = Arc::downgrade(&hostfxr.lib);
2222
drop(hostfxr);
2323
context.close().unwrap();
2424

0 commit comments

Comments
 (0)