| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6cc512b commit 5a36507
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -217,7 +217,7 @@ protected void doFilterInternal( | |||
| 217 | 217 | closeSession(sessionHolder.getSession(), sessionFactory); | |
| 218 | 218 | } | |
| 219 | 219 | else { | |
| 220 | - if (!chain.pop()) { | ||
| 220 | + if (chain.isAsyncStarted()) { | ||
| 221 | 221 | throw new IllegalStateException("Deferred close is not supported with async requests."); | |
| 222 | 222 | } | |
| 223 | 223 | // deferred close mode | |
| Back | FazBrowse Home | New Git URL |
0 commit comments