You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2019/10/21 06:48:14 UTC
[dubbo-js] branch master updated: bugfix decode-buffer return
DataType.Data
This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/master by this push:
new 12dc8b1 bugfix decode-buffer return DataType.Data
new 0a3e0f0 Merge pull request #144 from sunchuanleihit/master
12dc8b1 is described below
commit 12dc8b14e60d4f37706f7d581d43d9cda0172878
Author: sunchuanleihit <su...@163.com>
AuthorDate: Mon Oct 21 13:47:38 2019 +0800
bugfix decode-buffer return DataType.Data
---
packages/dubbo/src/decode-buffer.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dubbo/src/decode-buffer.ts b/packages/dubbo/src/decode-buffer.ts
index 1df3e46..3760b46 100644
--- a/packages/dubbo/src/decode-buffer.ts
+++ b/packages/dubbo/src/decode-buffer.ts
@@ -134,9 +134,9 @@ export default class DecodeBuffer
this._buffer = this._buffer.slice(HEADER_LENGTH + bodyLength);
bufferLength = this._buffer.length;
this._subscriber(dataBuffer);
- return DataType.Data;
}
}
+ return DataType.Data;
}
clearBuffer() {