Resium + CZML not working?

Hi!
I’m trying to read czml files with CzmlDataSource from Resium. It always throws ‘This object was destroyed, i.e., destroy() was called.’ error. I’m at my wits’ end honestly, i have no idea what to do to fix it.
The code is in this github repository: GitHub - vakics/help-with-resium at main