mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
Fixed an exception on shutdown if the nodes failed to start up before the notary value is assigned.
This commit is contained in:
@ -67,9 +67,11 @@ public class StandaloneCordaRPCJavaClientTest {
|
|||||||
try {
|
try {
|
||||||
connection.close();
|
connection.close();
|
||||||
} finally {
|
} finally {
|
||||||
|
if(notary != null) {
|
||||||
notary.close();
|
notary.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void copyFinanceCordapp() {
|
private void copyFinanceCordapp() {
|
||||||
Path pluginsDir = (factory.baseDirectory(notaryConfig).resolve("plugins"));
|
Path pluginsDir = (factory.baseDirectory(notaryConfig).resolve("plugins"));
|
||||||
|
Reference in New Issue
Block a user