[Pydev-cvs] org.python.pydev.debug/src/org/python/pydev/debug/model/remote RemoteDebugger.java,1.8,1
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-01-19 14:05:21
|
Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/remote In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2163/src/org/python/pydev/debug/model/remote Modified Files: RemoteDebugger.java Log Message: Index: RemoteDebugger.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/model/remote/RemoteDebugger.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RemoteDebugger.java 10 Oct 2005 15:58:37 -0000 1.8 --- RemoteDebugger.java 19 Jan 2006 14:05:07 -0000 1.9 *************** *** 80,93 **** public void disconnect() { ! try { ! if (socket != null) { ! socket.shutdownInput(); // trying to make my pydevd notice that the socket is gone ! socket.shutdownOutput(); ! socket.close(); } ! } catch (IOException e) { ! e.printStackTrace(); ! // it is going away } socket = null; if (target != null){ --- 80,100 ---- public void disconnect() { ! if (socket != null) { ! try { ! socket.shutdownInput(); // trying to make my pydevd notice that the socket is gone ! } catch (Exception e) { ! // ok, ignore } ! try { ! socket.shutdownOutput(); ! } catch (Exception e) { ! // ok, ignore ! } ! try { ! socket.close(); ! } catch (Exception e) { ! // ok, ignore } + } socket = null; if (target != null){ |