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:
parent
094f097e26
commit
082098ab67
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user