mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix win32 jthread implementation
This commit is contained in:
parent
22dbbf0a6f
commit
35f88ac67c
2 changed files with 12 additions and 5 deletions
2
src/jthread/win32/jsemaphore.cpp
Normal file → Executable file
2
src/jthread/win32/jsemaphore.cpp
Normal file → Executable file
|
@ -27,7 +27,7 @@ JSemaphore::JSemaphore() {
|
|||
}
|
||||
|
||||
JSemaphore::~JSemaphore() {
|
||||
CloseHandle(&m_hSemaphore);
|
||||
CloseHandle(m_hSemaphore);
|
||||
}
|
||||
|
||||
JSemaphore::JSemaphore(int initval) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue