internal void UnrefEvents() { events_ref_count--; if (events_ref_count == 0) { event_subscriber.Stop(); } }