]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/fiber/future/packaged_task.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / fiber / future / packaged_task.hpp
index 22e934285cadefcaf53660abb31658ac3e9d273a..10cef3cd81fb55aee45576a283ebdec03c7996d3 100644 (file)
@@ -71,7 +71,7 @@ public:
     }
 
     ~packaged_task() {
-        if ( task_) {
+        if ( task_ && obtained_) {
             task_->owner_destroyed();
         }
     }