mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
4f85010d21
SkiaUnrefQueue should be empty at destruction time. If the queue is nonempty, then there will be a pending drain task that will hold a reference to the queue. The queue can only be destructed after the drain completes and the reference is dropped. Drains must only be done on the queue's task runner thread, which may not be the thread where the queue is destructed.