mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-16 06:55:04 -04:00
how did fod compile this
This commit is contained in:
parent
2db556dc20
commit
ee274195fe
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ namespace geode {
|
|||
if (m_data->cancelled) return *this;
|
||||
std::unique_lock<std::mutex> _(m_data->mutex);
|
||||
if (m_data->result.has_value()) {
|
||||
Loader::get()->queueInMainThread([] {
|
||||
Loader::get()->queueInMainThread([handler = std::move(handler)] {
|
||||
handler();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue