*Change socket close module method name to be consistent with the rest
This commit is contained in:
parent
e84b009244
commit
1f76aef53a
|
@ -116,7 +116,7 @@ export class Socket extends Client {
|
||||||
this.callModule("socketExists", { id: this.id }).then(
|
this.callModule("socketExists", { id: this.id }).then(
|
||||||
([exists]: ErrTuple) => {
|
([exists]: ErrTuple) => {
|
||||||
if (exists) {
|
if (exists) {
|
||||||
this.callModule("close", { id: this.id });
|
this.callModule("socketClose", { id: this.id });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue