sync_win.v : Add a Missing Closing Bracket

pull/1308/head
unknown-v 2019-07-25 06:25:25 +02:00 committed by Alexander Medvednikov
parent 094f097e26
commit 082098ab67
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ pub fn (m mut Mutex) unlock() {
}
}
m.wstate = BROKEN
}
pub fn (m mut Mutex) destroy() {
if m.wstate == WAIT {
@ -92,4 +92,4 @@ pub fn (m mut Mutex) destroy() {
}
m.wstate = DESTROYED // setting up reference to invalid state
C.CloseHandle(m.mx) // destroy mutex
}
}