zoro icon indicating copy to clipboard operation
zoro copied to clipboard

About 7-10s after closing MR.2, the port is still unavailable

Open Michaelmilk opened this issue 6 years ago • 1 comments

Prerequisites

  • [ ] Did you search in issues?
  • [ ] Are you running the latest version?
  • [ ] I will write this according to this template.

Environment

  • Mr.2 Version: latest
  • Server Operating System: win10
  • Server Operating System Version:
  • Server Operation System Language:
  • Client Operating System:
  • Client Operating System Version:
  • Client Operation System Language:

Expected Behavior

Current Behavior

Detailed Description

Possible Solution

Hey, I close MR.2 using CTRL-C in win 10 cmd. if start it immediately, it prints the port is still in using. After about 7-10 seconds, I can start it normally. Is this expected? Is there command to close it immediately? Note:there is no other process using the same port.

Michaelmilk avatar May 25 '19 00:05 Michaelmilk

Yes, this is intentional. The heartbeat interval is 10s. But this behavior may be changed to close immediately by catch CTRL-C signal in the future.

txthinking avatar May 26 '19 06:05 txthinking