parent
c0ac409974
commit
f0f664dbb5
2 changed files with 6 additions and 2 deletions
|
@ -67,7 +67,9 @@ public class JpaRealmProviderFactory implements RealmProviderFactory, ProviderEv
|
|||
|
||||
@Override
|
||||
public void close() {
|
||||
onClose.run();
|
||||
if (onClose != null) {
|
||||
onClose.run();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -66,7 +66,9 @@ public class LegacyDatastoreProviderFactory implements DatastoreProviderFactory,
|
|||
|
||||
@Override
|
||||
public void close() {
|
||||
onClose.run();
|
||||
if (onClose != null) {
|
||||
onClose.run();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue