stlab / libraries

ASL libraries will be migrated here in the stlab namespace, new libraries will be created here.
https://stlab.cc
Boost Software License 1.0
660 stars 65 forks source link

windows default executor is not exception safe. #538

Open feverzsj opened 6 months ago

feverzsj commented 6 months ago

Newly allocated f is not guarded against later throw.

https://github.com/stlab/libraries/blob/c59cfaca42aeb883c7ec331918325584193c8f53/stlab/concurrency/default_executor.hpp#L164-L169