mirror of
https://github.com/golang/go
synced 2024-11-21 20:24:50 -07:00
runtime: free lock handles on Windows
R=rsc CC=golang-dev https://golang.org/cl/1652041
This commit is contained in:
parent
6cd8537fd1
commit
fdb460ec11
@ -220,6 +220,8 @@ unlock(Lock *l)
|
||||
void
|
||||
destroylock(Lock *l)
|
||||
{
|
||||
if(l->event != 0)
|
||||
stdcall(CloseHandle, 1, l->event);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user