[GH-ISSUE #165] [Exception] The calling thread cannot access this object because a different thread owns it. #1510

Closed
opened 2026-03-01 18:46:08 +03:00 by kerem · 1 comment
Owner

Originally created by @walterlv on GitHub (Jul 22, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/165

Exception

System.InvalidOperationException:"The calling thread cannot access this object because a different thread owns it."

Reproduce

Open the new recorder UI.

StackTrace

image

Originally created by @walterlv on GitHub (Jul 22, 2017). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/165 ## Exception System.InvalidOperationException:"The calling thread cannot access this object because a different thread owns it." ## Reproduce Open the new recorder UI. ## StackTrace ![image](https://user-images.githubusercontent.com/9959623/28487096-a0ef0b32-6ebc-11e7-9dd6-b1bcfe6ab11e.png)
kerem 2026-03-01 18:46:08 +03:00
Author
Owner

@NickeManarin commented on GitHub (Jul 22, 2017):

Delete that IF inside the event GarbageTimer_Tick.

<!-- gh-comment-id:317143891 --> @NickeManarin commented on GitHub (Jul 22, 2017): Delete that **IF** inside the event **GarbageTimer_Tick**.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1510
No description provided.