aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-03-13 18:10:46 +0100
committerTeddy Wing2018-03-14 16:42:02 +0100
commit13135a5251f2af3e85bb2bb1be9866477b7414e9 (patch)
tree27538025e62f9a9e66b0e70fbc65ed7df26a27ce /lib
parent3fe9aad1d003814c2f5a5de834ce42a028df1753 (diff)
downloadchouette-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