Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 2170822

Browse files
committed
Reset is_stopping on successfully stopping server
1 parent b52abcb commit 2170822

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/wpxf/net/http_server.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def stop_http_server
9292
@http_server_thread&.exit
9393
@tcp_server.close if !@tcp_server.nil? && !@tcp_server.closed?
9494
emit_info 'HTTP server stopped'
95+
@is_stopping = false
9596
end
9697

9798
# @return [Thread] thread that the server runs on when in non-blocking mode.

0 commit comments

Comments
 (0)