pike icon indicating copy to clipboard operation
pike copied to clipboard

Remove pike.init() / pike.deinit().

Open lithdew opened this issue 4 years ago • 0 comments

pike.init() / pike.deinit() are only used to initialize winsock2 on Windows. A global atomic counter may be used to silently initialize winsock2 upon the very first Socket.init() call, and silently de-initialize winsock2 on the very last Socket.deinit() call.

lithdew avatar Nov 19 '20 10:11 lithdew