This avoids reference loops which make it hard for the garbage collector to free AudioFrame and VideoFrame instances.