Skip to content
  • Tuukka Lehtonen's avatar
    d961999c
    Fix trend PDF export to use separate worker thread · d961999c
    Tuukka Lehtonen authored
    This is the simplest possible fix for the problem. However it relies on
    PrintUtil being invoked from a dedicated worker thread, not a shared
    thread like AWT or SWT. Previously PrintUtil.TrendPage was hardcoded to
    use AWTThread as the CanvasContext thread but switching this to
    CurrentThread avoids the previous race conditions.
    
    gitlab #703
    d961999c
    Fix trend PDF export to use separate worker thread
    Tuukka Lehtonen authored
    This is the simplest possible fix for the problem. However it relies on
    PrintUtil being invoked from a dedicated worker thread, not a shared
    thread like AWT or SWT. Previously PrintUtil.TrendPage was hardcoded to
    use AWTThread as the CanvasContext thread but switching this to
    CurrentThread avoids the previous race conditions.
    
    gitlab #703
Loading