Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function removeCreator (context) {
if (creator) {
creator.removeListener('creation', onCreationEvent)
installProgress.removeListener('progress', onInstallProgress)
installProgress.removeListener('log', onInstallLog)
creator = null
}
return true
}
function removeCreator (context) {
if (creator) {
creator.removeListener('creation', onCreationEvent)
installProgress.removeListener('progress', onInstallProgress)
installProgress.removeListener('log', onInstallLog)
creator = null
}
return true
}