X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/bdedb5e54032363de8afa322fadae0e2cb2132d0..9a8b488630f8ab958efd9c16d8b56d0ca7dc12ae:/lib/formatters/token.js?ds=inline diff --git a/lib/formatters/token.js b/lib/formatters/token.js index 40d4f59..f562f1c 100644 --- a/lib/formatters/token.js +++ b/lib/formatters/token.js @@ -71,6 +71,10 @@ } }); + if (Cobalt.Formatter.Token.__objectSpy) { + Cobalt.Formatter.Token.__objectSpy.destroy(); + } + if (typeof require === 'function') { global.Token = Cobalt.Formatter.Token; } else {