Skip to content

Commit

Permalink
Attach league submission thread to the il2cpp domain
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed Sep 3, 2024
1 parent f8cb6da commit 0eb28d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/Randomizer/league/league.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ namespace randomizer::league {
const auto jwt = randomizer::online::get_jwt();

submit_thread = std::make_shared<std::thread>([host, insecure, multiverse_id, jwt, save_slot_index]() {
il2cpp::attach_thread();

upload_attempt.store(0);

auto save_file_data = core::api::save_files::get_bytes(save_slot_index);
Expand Down

0 comments on commit 0eb28d1

Please sign in to comment.