mirror of
https://github.com/Rafostar/clapper.git
synced 2025-12-25 22:49:15 +01:00
Detect and auto switch thread to main if done from a different one. With this, apps can still continue to implement thread switch and doing multiple insertions/deletions within single main thread invoke or simply call this function from a different thread for convenience.