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