HomePhabricator

deskmirror - fix dangling reference to mirror by refcounting it

Authored by raster.

Description

deskmirror - fix dangling reference to mirror by refcounting it

add deskmirror refs to avoid segv on shutdown/restart due to mb->m
becoming a pointer to freed (now garbage) memory, so trace every
ref/unref and count them to get it right. crash gone!