FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix issue with failing test from previous commit · Java1024/spring-framework@5a36507 · GitHub

Repository navigation

Commit 5a36507

Browse files
committed
Fix issue with failing test from previous commit
Issue: SPR-9611
1 parent 6cc512b commit 5a36507

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewFilter.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected void doFilterInternal(
217217
closeSession(sessionHolder.getSession(), sessionFactory);
218218
}
219219
else {
220-
if (!chain.pop()) {
220+
if (chain.isAsyncStarted()) {
221221
throw new IllegalStateException("Deferred close is not supported with async requests.");
222222
}
223223
// deferred close mode

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL