]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1282] unload resets impl
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2020 14:14:14 +0000 (16:14 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 27 Jun 2020 15:50:46 +0000 (15:50 +0000)
src/hooks/dhcp/high_availability/ha_callouts.cc

index 88178901186dd18cdc2ca5a0db2e2bcebb4df821..2a9c4568e8b8dffa7f7031acf1999208e9415176 100644 (file)
@@ -322,6 +322,7 @@ int load(LibraryHandle& handle) {
 ///
 /// @return 0 if deregistration was successful, 1 otherwise
 int unload() {
+    impl.reset();
     LOG_INFO(ha_logger, HA_DEINIT_OK);
     return (0);
 }