On 5/24/22 11:57, RĂ©mi Bernon (@rbernon) wrote:
Regarding the refcount issue it looks like calling `IWMReader_Close` should be enough to release the callback. As there's no guarantee that it does we could also clear the filter pointer when it is destroyed and leave the callback to be released eventually later.
Using the sync reader we would just re-implement the async reader in qasf reader and add another read thread implementation which feels pretty redundant.
Right, I think it's a reasonable enough place to start for now. I've resent the merge request with some minor stylistic tweaks.