Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo previous change which causes producer_plugin to exit early #29

Merged
merged 5 commits into from
Jul 8, 2023

Conversation

greg7mdp
Copy link
Contributor

@greg7mdp greg7mdp commented Jul 7, 2023

No description provided.

some plugins (such as producer_plugin) may call `app().quit()` during startup (see `producer_plugin_impl::start_block()`.
@greg7mdp greg7mdp requested review from heifner and linh2931 July 7, 2023 17:25
BOOST_CHECK(app->initialize<pluginB>(sizeof(argv) / sizeof(char*), const_cast<char**>(argv)));

std::thread app_thread( [&]() {
auto& pA = app->get_plugin<pluginA>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor thing. Our code uses p_A/plugin_A style instead of pA/pluginA. You don't have to change now.

@greg7mdp greg7mdp merged commit 005d5a5 into main Jul 8, 2023
2 checks passed
@greg7mdp greg7mdp deleted the gh-672-fix branch July 8, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants