Commit 9c0279da authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent db277f66
...@@ -415,8 +415,6 @@ func (sk *FileSock) Close() error { ...@@ -415,8 +415,6 @@ func (sk *FileSock) Close() error {
// //
// Note: it is not Flush, since Fush is called on close(file) and in general // Note: it is not Flush, since Fush is called on close(file) and in general
// multiple time (e.g. in case of duplicated file descriptor). // multiple time (e.g. in case of duplicated file descriptor).
//
// XXX -> call dtor on release?
func (f *skFile) Release() { func (f *skFile) Release() {
err := f.rx.Close() err := f.rx.Close()
err2 := f.tx.Close() err2 := f.tx.Close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment