1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sync_win.v : Add a Missing Closing Bracket

This commit is contained in:
unknown-v 2019-07-25 06:25:25 +02:00 committed by Alexander Medvednikov
parent 094f097e26
commit 082098ab67

View File

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