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()
129
129
do {
130
130
ok = false ;
131
131
132
- // High priority protocol.
133
132
if (g_mapport_enabled_protos & MapPortProtoFlag::PCP) {
134
133
g_mapport_current_proto = MapPortProtoFlag::PCP;
135
134
ok = ProcessPCP ();
@@ -170,14 +169,11 @@ static void DispatchMapPort()
170
169
}
171
170
172
171
if (g_mapport_enabled_protos & g_mapport_current_proto) {
173
- // Enabling another protocol does not cause switching from the currently used one.
174
172
return ;
175
173
}
176
174
177
175
assert (g_mapport_thread.joinable ());
178
176
assert (!g_mapport_interrupt);
179
- // Interrupt a protocol-specific loop in the ThreadPCP()
180
- // to force trying the next protocol in the ThreadMapPort() loop.
181
177
g_mapport_interrupt ();
182
178
}
183
179
You can’t perform that action at this time.
0 commit comments