Update METADAPT-A implementation
This commit is contained in:
parent
dd89245c34
commit
9d2bbec7f9
@ -194,7 +194,7 @@ func (this *transA) Send(method uint16, data []byte) error {
|
||||
return this.parent.sendMessageSafe(this.id, method, data)
|
||||
}
|
||||
|
||||
func (this *transA) SendWriter(method uint16) (io.Writer, error) {
|
||||
func (this *transA) SendWriter(method uint16) (io.WriteCloser, error) {
|
||||
// close previous writer if necessary
|
||||
if this.currentWriter != nil {
|
||||
this.currentWriter.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user