Should fix https://github.com/flutter/flutter/issues/128618. This is unused - if it were used we'd have to be careful about deleting the object on the same thread it's created on.