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