You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That won't happen, because you are holding a reference in your lodash variable. .unload('lodash') will remove the module and its dependencies from require.cache. So the next time you do var lodash2 = require('lodash') it will be different from lodash != lodash2.
Would you please tell me what will happen with the unloaded module?
In the following image, I expected variable
lodash
will beundefined
ornull
after the associated module is unloaded. But it's not.The text was updated successfully, but these errors were encountered: