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