Merge pull request #35 from SteffenBrauns/patch-1

Bugfix NPE in ClientAssociation#close()
master^2
sfeuerhahn 2 years ago committed by GitHub
commit 0508da4073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2110,15 +2110,17 @@ public final class ClientAssociation {
closed = true;
acseAssociation.close();
lastIOException = e;
Thread t1 =
new Thread(
new Runnable() {
@Override
public void run() {
reportListener.associationClosed(lastIOException);
}
});
t1.start();
if (reportListener != null) {
Thread t1 =
new Thread(
new Runnable() {
@Override
public void run() {
reportListener.associationClosed(lastIOException);
}
});
t1.start();
}
MMSpdu mmsPdu = new MMSpdu();
mmsPdu.setConfirmedRequestPDU(new ConfirmedRequestPDU());

Loading…
Cancel
Save