still locking up when disposing, because the log callback is trying to write to the...