Fix timeline race condition
FossilOrigin-Name: 737dc9ddb194890e0eebc61fb6bbd5807b8c5aaad6c097ddd887b1002214c9c3
This commit is contained in:
parent
ec3dbcb60b
commit
1a4175351a
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ void content_timeline(FCGX_Request* req,
|
|||
char* header_text,
|
||||
int show_post_box)
|
||||
{
|
||||
perl_lock();
|
||||
dSP;
|
||||
ENTER;
|
||||
SAVETMPS;
|
||||
|
@ -73,6 +74,7 @@ void content_timeline(FCGX_Request* req,
|
|||
PUTBACK;
|
||||
FREETMPS;
|
||||
LEAVE;
|
||||
perl_unlock();
|
||||
|
||||
struct base_page b = {
|
||||
.category = cat,
|
||||
|
|
Loading…
Reference in a new issue