We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f0d8e commit 1a36e36Copy full SHA for 1a36e36
tests/manual_close_frees_lib.rs
@@ -1,6 +1,6 @@
1
#![cfg(feature = "netcore3_0")]
2
3
-use std::rc::Rc;
+use std::sync::Arc;
4
5
use netcorehost::nethost;
6
use rusty_fork::rusty_fork_test;
@@ -18,7 +18,7 @@ rusty_fork_test! {
18
.initialize_for_runtime_config(common::test_runtime_config_path())
19
.unwrap();
20
21
- let weak = Rc::downgrade(&hostfxr.lib);
+ let weak = Arc::downgrade(&hostfxr.lib);
22
drop(hostfxr);
23
context.close().unwrap();
24
0 commit comments