mirror of
https://github.com/status-im/react-native-tcp.git
synced 2025-02-04 22:53:34 +00:00
Replace this
by self
in a scoped reference
This commit is contained in:
parent
75afd35a6b
commit
fc66549961
@ -376,7 +376,7 @@ TcpSocket.prototype._write = function(buffer: any, encoding: ?String, callback:
|
||||
|
||||
Sockets.write(this._id, str, function(err) {
|
||||
if (self._timeout) {
|
||||
self._activeTimer(this._timeout.msecs);
|
||||
self._activeTimer(self._timeout.msecs);
|
||||
}
|
||||
|
||||
err = normalizeError(err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user