diff options
| author | Teddy Wing | 2018-03-13 18:10:46 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-03-23 17:16:43 +0100 |
| commit | 635d380160933181a379871b19cfba7b5f4965e9 (patch) | |
| tree | b6fa873a526ec2cca02b562ae482d38a9db23ca1 /spec/javascript | |
| parent | 96d01a90977de5d94ab3f5c31e043579c86b150a (diff) | |
| download | chouette-core-635d380160933181a379871b19cfba7b5f4965e9.tar.bz2 | |
RouteWayCostWorker: Fix recursive worker call
Since this method was run on `after_save` and in it
`RouteWayCostCalculator` calls `#update` on the given route, it caused
an infinite recursive call to the worker. To prevent this, wrap the
`#calculate!` call in methods that unset and reset the callback.
Refs #6095
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions
