apple-mail-mcp 2.8.15 → 2.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +2 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -79895,6 +79895,7 @@ async function dropPool(key) {
|
|
|
79895
79895
|
if (e.idle) clearTimeout(e.idle);
|
|
79896
79896
|
pools.delete(key);
|
|
79897
79897
|
await e.client.logout().catch(() => void 0);
|
|
79898
|
+
e.client.close?.();
|
|
79898
79899
|
}
|
|
79899
79900
|
async function dropAllPools() {
|
|
79900
79901
|
await Promise.all([...pools.keys()].map((k) => dropPool(k)));
|
|
@@ -79968,6 +79969,7 @@ async function useClient(deps, fn, retryOnDrop = false) {
|
|
|
79968
79969
|
return await fn(client, cfg);
|
|
79969
79970
|
} finally {
|
|
79970
79971
|
await client.logout().catch(() => void 0);
|
|
79972
|
+
client.close?.();
|
|
79971
79973
|
}
|
|
79972
79974
|
}
|
|
79973
79975
|
const key = poolKey(cfg);
|
package/package.json
CHANGED