diff options
| author | Teddy Wing | 2018-03-13 18:10:46 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-03-14 16:42:02 +0100 |
| commit | 13135a5251f2af3e85bb2bb1be9866477b7414e9 (patch) | |
| tree | 27538025e62f9a9e66b0e70fbc65ed7df26a27ce /lib | |
| parent | 3fe9aad1d003814c2f5a5de834ce42a028df1753 (diff) | |
| download | chouette-core-13135a5251f2af3e85bb2bb1be9866477b7414e9.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 'lib')
0 files changed, 0 insertions, 0 deletions
