« All deprecation guides
Deprecation Guide for Ember._unregisterDestructor
until: 7.0.0
id: deprecate-import--unregister-destructor-from-ember
Previously, _unregisterDestructor
could be accessed via the Ember
import:
import Ember from 'ember';
Ember._unregisterDestructor
If needed, _unregisterDestructor
can be imported:
import { unregisterDestructor } from '@ember/destroyable';