parent
af90fbfb33
commit
8f56606cac
@ -71,7 +71,7 @@ fn take_spec_name_override() -> Option<String> {
|
|||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
fn global_cleanup() {
|
fn global_cleanup() {
|
||||||
// We need to cleanup all sockets before spawning another Parity process. This makes shure everything is cleaned up.
|
// We need to cleanup all sockets before spawning another Parity process. This makes sure everything is cleaned up.
|
||||||
// The loop is required because of internal reference counter for winsock dll. We don't know how many crates we use do
|
// The loop is required because of internal reference counter for winsock dll. We don't know how many crates we use do
|
||||||
// initialize it. There's at least 2 now.
|
// initialize it. There's at least 2 now.
|
||||||
for _ in 0.. 10 {
|
for _ in 0.. 10 {
|
||||||
|
Loading…
Reference in New Issue
Block a user