mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
PY-83152 Cannot stop the Remote Debug Server in PyCharm 2025.2
Merge-request: IJ-MR-172033 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> (cherry picked from commit 76119033bb39c96d4fc1568d3c222bbfd76cd553) IJ-MR-172033 GitOrigin-RevId: 634ef39ba3ba60ad2282626c676953beca12aea6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aa7aecb630
commit
786d591b05
@@ -66,14 +66,12 @@ public class ServerModeDebuggerTransport extends BaseDebuggerTransport {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
synchronized (mySocketObject) {
|
if (!myServerSocket.isClosed()) {
|
||||||
if (!myServerSocket.isClosed()) {
|
try {
|
||||||
try {
|
myServerSocket.close();
|
||||||
myServerSocket.close();
|
}
|
||||||
}
|
catch (IOException e) {
|
||||||
catch (IOException e) {
|
LOG.warn("Error closing socket", e);
|
||||||
LOG.warn("Error closing socket", e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -140,6 +138,6 @@ public class ServerModeDebuggerTransport extends BaseDebuggerTransport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCommunicationError() {getDebugger().fireCommunicationError();}
|
protected void onCommunicationError() { getDebugger().fireCommunicationError(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user