File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ static void ThreadMapPort()
129129 do {
130130 ok = false ;
131131
132- // High priority protocol.
133132 if (g_mapport_enabled_protos & MapPortProtoFlag::PCP) {
134133 g_mapport_current_proto = MapPortProtoFlag::PCP;
135134 ok = ProcessPCP ();
@@ -170,14 +169,11 @@ static void DispatchMapPort()
170169 }
171170
172171 if (g_mapport_enabled_protos & g_mapport_current_proto) {
173- // Enabling another protocol does not cause switching from the currently used one.
174172 return ;
175173 }
176174
177175 assert (g_mapport_thread.joinable ());
178176 assert (!g_mapport_interrupt);
179- // Interrupt a protocol-specific loop in the ThreadPCP()
180- // to force trying the next protocol in the ThreadMapPort() loop.
181177 g_mapport_interrupt ();
182178}
183179
You can’t perform that action at this time.
0 commit comments