View Single Post
Old 03-19-2017, 04:13 PM   #3
SpiderFox
Human being with feelings
 
Join Date: Jan 2017
Posts: 29
Default

Quote:
Originally Posted by Xenakios View Post
The destructor of the future variable (or I think in your case running the isReady function) will block the execution of the current thread, negating the use of the async operation if the future is a local variable in a function.
I guess that's the case because local variables are deleted at the end of the function?
SpiderFox is offline   Reply With Quote