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,6 +2110,7 @@ public final class ClientAssociation {
closed = true; closed = true;
acseAssociation.close(); acseAssociation.close();
lastIOException = e; lastIOException = e;
if (reportListener != null) {
Thread t1 = Thread t1 =
new Thread( new Thread(
new Runnable() { new Runnable() {
@ -2119,6 +2120,7 @@ public final class ClientAssociation {
} }
}); });
t1.start(); t1.start();
}
MMSpdu mmsPdu = new MMSpdu(); MMSpdu mmsPdu = new MMSpdu();
mmsPdu.setConfirmedRequestPDU(new ConfirmedRequestPDU()); mmsPdu.setConfirmedRequestPDU(new ConfirmedRequestPDU());

Loading…
Cancel
Save