@Majestyk,
I do not get any script crash but I do get a foobar crash, don't know if it's the same you're reporting.
I can reproduce the foobar crash with fb.Exit();
const checkResponse = setInterval(() => {
try { xmlhttp.Status && xmlhttp.ResponseText } catch (e) { return; }
clearTimeout(timer);
clearInterval(checkResponse);
bioOnStateChange.call(xmlhttp, resolve, reject, func);
fb.Exit(); // Add this line here
}, 30);
Can you confirm this?
Edit: What I have posted does not seem to be related to allmusic at all, if you put it outside the function, like this:
setTimeout(() => {
fb.Exit();
}, 4000);
it also crashes foobar. Seems to be that foobar with its user-components has not finished all processes and you early exit
right in the middle of it, that's why you get a foobar crash. If this is not the same issue, please post the crash log because I can not
reproduce any other related issue you've reported...