summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlnaz Nizametdinov <[email protected]>2024-03-20 19:20:26 +0300
committerGitHub <[email protected]>2024-03-20 19:20:26 +0300
commit190332d3a860cb4f51fac86578cc2db5043efd10 (patch)
treedb13a9d41b3100ec729915e0abfc4a6fedee1234
parentab6f8787b6015b759460a0c23606418f77593c8c (diff)
Stop YdbDriver last (#2992)
-rw-r--r--ydb/core/driver_lib/run/run.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ydb/core/driver_lib/run/run.cpp b/ydb/core/driver_lib/run/run.cpp
index 1abf2901334..fe7d91e0413 100644
--- a/ydb/core/driver_lib/run/run.cpp
+++ b/ydb/core/driver_lib/run/run.cpp
@@ -1716,10 +1716,6 @@ void TKikimrRunner::KikimrStop(bool graceful) {
SqsHttp->Shutdown();
}
- if (YdbDriver) {
- YdbDriver->Stop(true);
- }
-
if (Monitoring) {
Monitoring->Stop();
}
@@ -1760,6 +1756,10 @@ void TKikimrRunner::KikimrStop(bool graceful) {
ModuleFactories->DataShardExportFactory->Shutdown();
}
}
+
+ if (YdbDriver) {
+ YdbDriver->Stop(true);
+ }
}
void TKikimrRunner::BusyLoop() {