Actions
Bug #8597
closedWResource setTakesUpdateLock not working
Start date:
05/27/2021
Due date:
% Done:
100%
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_));
Updated by Korneel Dumon over 3 years ago
- Status changed from New to Implemented @Emweb
Turns out it had nothing to do with the continuation. The initial lock in WResource
has a request associated with it, making WApplication::triggerUpdate()
think it doesn't have to do anything.
Updated by Roel Standaert about 3 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert almost 3 years ago
- Status changed from Resolved to Closed
Actions