Remove em.refresh(realm)
call during realm removal in JpaRealmProvider
Closes #19430
This commit is contained in:
parent
17022ad13c
commit
5aafc99673
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ public class JpaRealmProvider implements RealmProvider, ClientProvider, ClientSc
|
||||||
if (realm == null) {
|
if (realm == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
em.refresh(realm);
|
|
||||||
final RealmAdapter adapter = new RealmAdapter(session, em, realm);
|
final RealmAdapter adapter = new RealmAdapter(session, em, realm);
|
||||||
session.users().preRemove(adapter);
|
session.users().preRemove(adapter);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue