mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
Merge pull request #40795 from wjwithagen/wjw-fix-ceph-dencoder
tools: do not unload plugins during destruction. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
00379cc418
@ -75,9 +75,11 @@ public:
|
||||
}
|
||||
}
|
||||
~DencoderPlugin() {
|
||||
#if !defined(__FreeBSD__)
|
||||
if (mod) {
|
||||
dlclose(mod);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
int register_dencoders() {
|
||||
assert(mod);
|
||||
|
Loading…
Reference in New Issue
Block a user