Project

General

Profile

Bug #8597

WResource setTakesUpdateLock not working

Added by Korneel Dumon 23 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/27/2021
Due date:
% Done:

0%

Estimated time:

Description

See https://redmine.emweb.be/boards/2/topics/17615 for example program.
For some reason, the lock is only taken when handling a continuation:

  std::unique_ptr<Wt::WApplication::UpdateLock> updateLock;
  if (takesUpdateLock() && continuation && app_) {
    updateLock.reset(new Wt::WApplication::UpdateLock(app_));

No data to display

Also available in: Atom PDF