Skip to content

Can't close Dynamo if "Run" is active #7445

Open
@DmytroMuravskyi

Description

If this issue is with Dynamo for Revit, please post your issue on the Dynamo for Revit Issues page.

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

Dynamo Studio 1.2.0.2871 with Dynamo Core 1.2.0.2831

Operating system

Windows 10

What did you do?

Open file with expensive models (like attached one).
Click "Run"
While "Run" is in progress close Dynamo window by clicking close icon.

What did you expect to see?

Dynamo closes immediately.

What did you see instead?

Dynamo hangs forever (because of double lock, when Dynamo waits for scheduler thread, and scheduler thread sends something to main thread dispatcher simultaneously).
Sometimes, however, during described steps, Dynamo just crashes.

LargeModel.zip

Metadata

Assignees

No one assigned

    Labels

    bugcrashRelated to a crash.error/warning/crashIssues mentioning a Dynamo error, warning or crash messagetracked

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions