summaryrefslogtreecommitdiffstats
path: root/tksao/frame/context.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/context.C')
-rw-r--r--tksao/frame/context.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/tksao/frame/context.C b/tksao/frame/context.C
index e21fa78..3d797ae 100644
--- a/tksao/frame/context.C
+++ b/tksao/frame/context.C
@@ -398,8 +398,7 @@ void Context::contourCreateFV(const char* color, int width, int dash,
fvcontour_.append(ptr, &thread_[cnt], &targ[cnt]);
cnt++;
- // if (cnt == parent_->nthreads_) {
- if (cnt == 1) {
+ if (cnt == parent_->nthreads_) {
for (int ii=0; ii<cnt; ii++) {
int rr = pthread_join(thread_[ii], NULL);
if (rr)