Skip to content

Commit

Permalink
Merge pull request #67 from JohanMabille/request_stop
Browse files Browse the repository at this point in the history
Initialize request_stop to false
  • Loading branch information
JohanMabille authored Jun 20, 2024
2 parents 9c8eeb4 + f72c949 commit c594840
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/server/xserver_zmq_default.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ namespace xeus
{
start_publisher_thread();
start_heartbeat_thread();
set_request_stop(false);

publish(std::move(msg), channel::SHELL);

Expand Down
2 changes: 1 addition & 1 deletion src/server/xserver_zmq_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace xeus
, m_hb_thread()
, m_messenger(std::move(listener))
, m_error_handler(eh)
, m_request_stop(true)
, m_request_stop(false)
{
init_socket(m_shell, config.m_transport, config.m_ip, config.m_shell_port);
init_socket(m_controller, config.m_transport, config.m_ip, config.m_control_port);
Expand Down

0 comments on commit c594840

Please sign in to comment.