mirror of
https://github.com/libssh2/libssh2.git
synced 2026-01-06 14:21:57 +03:00
example, tests: call WSACleanup() for each WSAStartup()
On Windows. Closes #1283
This commit is contained in:
@@ -291,5 +291,9 @@ shutdown:
|
||||
|
||||
libssh2_exit();
|
||||
|
||||
#ifdef _WIN32
|
||||
WSACleanup();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user