feat(companion): forward dispose close params on platform clients
This commit is contained in:
@@ -109,8 +109,8 @@ export class MacOSCompanionClient {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this.runtime.dispose();
|
||||
dispose(code?: number, reason?: string): void {
|
||||
this.runtime.dispose(code, reason);
|
||||
}
|
||||
|
||||
register(): Promise<NodeRegisterResult> {
|
||||
@@ -351,8 +351,8 @@ export class IOSCompanionClient {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this.runtime.dispose();
|
||||
dispose(code?: number, reason?: string): void {
|
||||
this.runtime.dispose(code, reason);
|
||||
}
|
||||
|
||||
register(): Promise<NodeRegisterResult> {
|
||||
@@ -593,8 +593,8 @@ export class AndroidCompanionClient {
|
||||
this.runtime.disconnect();
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this.runtime.dispose();
|
||||
dispose(code?: number, reason?: string): void {
|
||||
this.runtime.dispose(code, reason);
|
||||
}
|
||||
|
||||
register(): Promise<NodeRegisterResult> {
|
||||
|
||||
Reference in New Issue
Block a user