+11
-1
lines changedFilter options
+11
-1
lines changed Original file line number Diff line number Diff line change
@@ -77,8 +77,18 @@ func (f *overlappedFile) Write(b []byte) (int, error) {
77
77
}
78
78
79
79
func (f *overlappedFile) Close() error {
80
-
windows.Close(f.h)
80
+
err := windows.Close(f.h)
81
+
if err != nil {
82
+
panic(err)
83
+
}
81
84
f.h = 0
85
+
for _, h := range f.e {
86
+
err := windows.Close(h)
87
+
if err != nil {
88
+
panic(err)
89
+
}
90
+
}
91
+
f.e = nil
82
92
return nil
83
93
}
84
94
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4