From 29626546e7a7d5ff39681b25ff9520b624c06733 Mon Sep 17 00:00:00 2001 From: Brian Chen Date: Thu, 19 Dec 2019 10:58:58 -0800 Subject: [PATCH] remove terminated --- dev/src/index.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dev/src/index.ts b/dev/src/index.ts index 0882640f4..f1c44f04f 100644 --- a/dev/src/index.ts +++ b/dev/src/index.ts @@ -267,12 +267,6 @@ export class Firestore { */ private _settingsFrozen = false; - /** - * Whether is client has been terminated. Once the Firestore instance is - * terminated, all subsequent calls to this client will fail. - */ - private _terminated = false; - /** * The serializer to use for the Protobuf transformation. * @private @@ -1019,7 +1013,6 @@ export class Firestore { * @return A Promise that resolves when the client is terminated. */ async terminate(): Promise { - this._terminated = true; await this._clientPool.terminate(); }