Skip to content

examples/fig12_save_figure.nim does not automatically close the webview #50

Open
@cwpearson

Description

@cwpearson
Nim Compiler Version 0.20.2 [MacOSX: amd64]
Compiled at 2019-07-17
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: 88a0edba4b1a3d535b54336fd589746add54e937
active boot switches: -d:release

Running
nim c -r -d:webview --threads:on -d:debug examples/fig12_save_figure.nim

produces

Starting server
Plotly connected successfully!
Saving plot to file HelloImage.svg
Closing server

The webview is created with the plot, but the program hangs here and the webview is never closed. The correct output file is produced, however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions