Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function reset() {
CLS.destroyNamespace('unpm')
module.exports.ns = ns = CLS.createNamespace('unpm')
}
enableManualMode: function enableManualMode() {
cls_mode = false;
if (contextUtils.getNamespace(NAMESPACE))
cls.destroyNamespace(NAMESPACE);
logger.getLogger().debug('Overriding AWS X-Ray SDK mode. Set to manual mode.');
},
destroy(name) {
destroyNamespace(name);
delete stores[name];
return this;
}