Remove automatic win32 cleanup. RC2

This commit is contained in:
Christoffer Lerno
2025-10-30 21:29:48 +01:00
parent 331a77c1c2
commit 5a3c484ceb
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ macro void? start_wsa()
}
}
fn void close_wsa() @local @finalizer
fn void close_wsa()
{
if (mem::compare_exchange(&wsa_init, 1, 0) == 1)
{

View File

@@ -1,4 +1,4 @@
module std::os::win32 @if(env::WIN32);
module std::os::win32 @if(env::WIN32) @link("ws2_32");
// See https://github.com/wine-mirror/wine/blob/master/include/winsock2.h