Skip to content

Commit

Permalink
update ServerSocketAcceptingThread.java
Browse files Browse the repository at this point in the history
update version
update gradle
mini fix to remove socket exceptions
  • Loading branch information
mint-runs authored and mint-runs committed Dec 31, 2020
1 parent 170ec2d commit 98d5812
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 4 deletions.
Binary file modified .gradle/6.7/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/6.7/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
apply plugin: 'maven'

group 'de.javasocketapi'
version 'v1.7.0'
version 'v1.7.1'

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/de/javasocketapi/core/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ public void connect() throws IOException {
public void disconnect() throws IOException {
//disconnect all clients
this.disconnectAllClients();
//interrupt accepting clients
this.serverSocketAcceptingThread.interrupt();

//check if serverSocket is closed
if (!this.serverSocket.isClosed()) {
//disconnect serverSocket
Expand Down

0 comments on commit 98d5812

Please sign in to comment.