]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/fiber/future/promise.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / fiber / future / promise.hpp
index 1e6e285c77676bf3201cc31dcbe001bc8e4327cf..f184ac66824f03b1863066936bd051630b2a97d7 100644 (file)
@@ -53,7 +53,7 @@ struct promise_base {
     }
 
     ~promise_base() {
-        if ( future_) {
+        if ( future_ && obtained_) {
             future_->owner_destroyed();
         }
     }