@onivoro/server-typeorm-mysql 22.0.2 → 22.0.3
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.
|
@@ -18,6 +18,7 @@ let ServerTypeormMysqlModule = ServerTypeormMysqlModule_1 = class ServerTypeormM
|
|
|
18
18
|
try {
|
|
19
19
|
const dataSource = dataSourceMap.get(dataSourceKey);
|
|
20
20
|
if (dataSource && dataSource.isInitialized) {
|
|
21
|
+
console.log(`destroying connection ${dataSourceKey}`);
|
|
21
22
|
await dataSource.destroy();
|
|
22
23
|
}
|
|
23
24
|
}
|
|
@@ -18,6 +18,7 @@ let ServerTypeormMysqlModule = ServerTypeormMysqlModule_1 = class ServerTypeormM
|
|
|
18
18
|
try {
|
|
19
19
|
const dataSource = dataSourceMap.get(dataSourceKey);
|
|
20
20
|
if (dataSource && dataSource.isInitialized) {
|
|
21
|
+
console.log(`destroying connection ${dataSourceKey}`);
|
|
21
22
|
await dataSource.destroy();
|
|
22
23
|
}
|
|
23
24
|
}
|