Skip to content

Commit 95551e7

Browse files
author
Maxime Rainville
committed
Add missing session_write_close() call
1 parent 06dce8d commit 95551e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ try {
3434
// This call will complete the request without closing the PHP worker. A nice side effect of this is that your
3535
// event listeners won't block your request from being sent to the client. So you can use them to run slow
3636
// operations like sending emails or doing API calls without delaying the response.
37+
session_write_close();
3738
fastcgi_finish_request();
3839

3940
// Many methods in Silverstripe CMS rely on having a current controller with a request.

0 commit comments

Comments
 (0)