Skip to content

Commit

Permalink
quit qt event loop on coro test finish
Browse files Browse the repository at this point in the history
  • Loading branch information
microcai committed Oct 2, 2024
1 parent 28714c0 commit 6ab8825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testqt/testqt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ucoro::awaitable<void> coro_compute()
{
co_await coro_compute_exec(i);
}
qApp->quit();
}

int main(int argc, char **argv)
Expand Down

0 comments on commit 6ab8825

Please sign in to comment.