Skip to content

Commit

Permalink
fixed(i_thread_join): direct close handle on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
itas109 committed Apr 27, 2024
1 parent 01c00ec commit f290062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CSerialPort/ithread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ inline int i_thread_create(i_thread_t *thread, void const *, unsigned(__stdcall

inline void i_thread_join(i_thread_t thread)
{
::WaitForSingleObject(thread, INFINITE);
//::WaitForSingleObject(thread, INFINITE);
::CloseHandle(thread);
}
#else
Expand Down

0 comments on commit f290062

Please sign in to comment.