Skip to content

Commit

Permalink
Make StreamConnection thread safe. Handle socket errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hollingsworthd committed Dec 9, 2015
1 parent 7b3dfcf commit cfef3b3
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ void clearStatusMonitor() {
for (StreamConnection conn : connections.values()) {
Util.close(conn);
}
StreamConnection.cleanUp();
connections.clear();
primaryDocuments.clear();
discarded.clear();
Expand Down
Loading

0 comments on commit cfef3b3

Please sign in to comment.