diff options
author | Chris <ccbrown112@gmail.com> | 2017-10-10 14:50:45 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-10-10 14:50:45 -0700 |
commit | 66b07a72ce45ce12f1840e0f74f26ea2a9b8105f (patch) | |
tree | 68e4840798360e967770f9cd7315ed123e3547a7 /plugin/rpcplugin/ipc.go | |
parent | f799738613819bd561a65e882c1bc3bb05890850 (diff) | |
download | chat-66b07a72ce45ce12f1840e0f74f26ea2a9b8105f.tar.gz chat-66b07a72ce45ce12f1840e0f74f26ea2a9b8105f.tar.bz2 chat-66b07a72ce45ce12f1840e0f74f26ea2a9b8105f.zip |
remove go 1.8 ipc workaround (#7604)
Diffstat (limited to 'plugin/rpcplugin/ipc.go')
-rw-r--r-- | plugin/rpcplugin/ipc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/rpcplugin/ipc.go b/plugin/rpcplugin/ipc.go index bbb3db06e..3e6c89c4f 100644 --- a/plugin/rpcplugin/ipc.go +++ b/plugin/rpcplugin/ipc.go @@ -19,7 +19,7 @@ func NewIPC() (io.ReadWriteCloser, []*os.File, error) { childWriter.Close() return nil, nil, err } - return NewReadWriteCloser(NewAsyncReadCloser(parentReader), NewAsyncWriteCloser(parentWriter)), []*os.File{childReader, childWriter}, nil + return NewReadWriteCloser(parentReader, parentWriter), []*os.File{childReader, childWriter}, nil } // Returns the IPC instance inherited by the process from its parent. |