]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4282] poll before reset
authorRazvan Becheriu <razvan@isc.org>
Tue, 20 Jan 2026 07:51:27 +0000 (09:51 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 20 Jan 2026 09:31:11 +0000 (10:31 +0100)
src/hooks/dhcp/radius/radius.cc

index e2cc45427af3b6e63db5afeac8f39f680af73661..956333e5964d2814f78c0e3b4540d752f41a6ed3 100644 (file)
@@ -114,6 +114,10 @@ void RadiusImpl::cleanup() {
     auth_.reset(new RadiusAccess());
     acct_.reset(new RadiusAccounting());
 
+    if (getIOContext()) {
+        getIOContext()->stopAndPoll();
+    }
+
     io_context_.reset(new IOService());
     exchange_list_.clear();
     if (getIOService()) {