Fixed an exception on shutdown if the nodes failed to start up before the notary value is assigned.

This commit is contained in:
Clinton Alexander 2017-08-24 15:58:01 +01:00
parent 8756f337db
commit f7d06e8218

View File

@ -67,7 +67,9 @@ public class StandaloneCordaRPCJavaClientTest {
try {
connection.close();
} finally {
notary.close();
if(notary != null) {
notary.close();
}
}
}