aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command_filter.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-28 17:28:09 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-02 13:53:23 -0700
commita0f6b4d0b40aa61f670bb2eee1c898b1942dd42d (patch)
tree9bc6168463bc42c2de885f2dc8a6952d101d39c9 /commands/command_filter.h
parent0f8560276d1a8116f4d4e7ce9c950d3a433e38c8 (diff)
downloadsubsurface-a0f6b4d0b40aa61f670bb2eee1c898b1942dd42d.tar.gz
planner: avoid starting unneeded variation thread
When updating the dive profile, a thread is started to calculate plan-variations. This is done even when only editing the profile or when variation calculation is disabled by the user. The thread then exits if it shouldn't calculate the variations. Turn this around: test whether variations should be calculated before starting the thread. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_filter.h')
0 files changed, 0 insertions, 0 deletions