Skip to content

Commit

Permalink
Issue doip#48: StandardGateway.onConnectionClosed: removeListener was…
Browse files Browse the repository at this point in the history
… missing
  • Loading branch information
marco-wehnert committed Mar 24, 2020
1 parent 88bdee0 commit 3971434
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ http://automotive-doip.com/downloads/DoIP-Software-Documentation.pdf

Release Notes for Version: 1.4.3

FIXED BUGS
==========

- Issue #48: StandardGateway.onConnectionClosed: removeListener was missing

NEW FEATURES
============

Expand All @@ -36,7 +41,7 @@ NEW FEATURES
Release Notes for Version: 1.4.2

FIXED BUGS
==========:
==========

- Issue #39: Made method StandardEcu.clearCurrentRequest() public.
(also setter & getter made public)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void onConnectionAccepted(TcpServer tcpServer, Socket socket) {
@Override
public void onConnectionClosed(DoipTcpConnection doipTcpConnection) {
logger.trace(">>> public void onConnectionClosed(DoipTcpConnection doipTcpConnection)");
doipTcpConnection.removeListener(this);
this.standardConnectionList.remove(doipTcpConnection);
logger.trace("<<< public void onConnectionClosed(DoipTcpConnection doipTcpConnection)");
}
Expand Down

0 comments on commit 3971434

Please sign in to comment.