Skip to content

Commit

Permalink
change destruction order
Browse files Browse the repository at this point in the history
  • Loading branch information
rsjaffe committed Nov 12, 2021
1 parent 021e611 commit 31cc445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ class MIDI2LRApplication final : public juce::JUCEApplication {
* pointer created by createDefaultAppLogger */
/* forcing assignment to static early in construction */
[[maybe_unused]] const SetLogger dummy_ {};
asio::io_context io_context_ {};
std::future<void> io_thread0_;
std::future<void> io_thread1_;
asio::io_context io_context_ {};
[[maybe_unused]] asio::any_io_executor work_ {
asio::require(io_context_.get_executor(), asio::execution::outstanding_work.tracked)};
Devices devices_ {};
Expand Down

0 comments on commit 31cc445

Please sign in to comment.