Skip to content

Commit

Permalink
Dispose the ChangeQueue when closing the viewport.
Browse files Browse the repository at this point in the history
Closinng can be just switching away from our display
mode integration.

If you don't dispose of the changequeue but leave it hanging
you'll make the display pipeline hang ( see https://discourse.mcneel.com/t/black-viewports-after-changequeue/84544/20?u=nathanletwory )
  • Loading branch information
jesterKing committed Jun 27, 2019
1 parent e24bb79 commit 156a0e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void ColorPixels()
Thread.Sleep(10);
if (_shutdown) break;
}
cq.Dispose();
}

public event EventHandler RenderReset;
Expand Down

0 comments on commit 156a0e8

Please sign in to comment.