Skip to content

Commit

Permalink
Merge pull request ceph#40795 from wjwithagen/wjw-fix-ceph-dencoder
Browse files Browse the repository at this point in the history
tools: do not unload plugins during destruction.

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Apr 12, 2021
2 parents 6a1c173 + 78d3010 commit 00379cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/ceph-dencoder/ceph_dencoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ class DencoderPlugin {
}
}
~DencoderPlugin() {
#if !defined(__FreeBSD__)
if (mod) {
dlclose(mod);
}
#endif
}
int register_dencoders() {
assert(mod);
Expand Down

0 comments on commit 00379cc

Please sign in to comment.