mirror of https://github.com/fantasticit/think.git
fix: remove disconnect code before bestroy
This commit is contained in:
parent
f329b68822
commit
468709cee0
|
@ -49,6 +49,5 @@ export const destoryProvider = (provider, cacheType: 'READER' | 'EDITOR' = 'READ
|
||||||
|
|
||||||
pool.delete(provider.configuration.name);
|
pool.delete(provider.configuration.name);
|
||||||
provider.document.destroy();
|
provider.document.destroy();
|
||||||
provider.disconnect();
|
|
||||||
provider.destroy();
|
provider.destroy();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue