https://perchance.org/hash-links-plugin#edit

It’s stuck in this while loop. I’ve seen it happen a couple of times before; it blocks saving too. But normally refreshing/reloading does the trick. For whatever reason, here it always gets stuck no matter what, which means I can’t fix a bug in my code, which means that entire plugin and anything that imports it (all my generator pages) breaks entirely. Editing them, I can remove stuff to try to temp fix it, it seems to save, then I reload and the save hasn’t actually saved, and there’s nothing I can do about it 😬

while (!window[sadf5456])
  await new Promise(r=>window[lkjsfh83](r, 1000));

This is where it’s stuck. Something to do with waiting for “riot” to load? ARRRRGHGHG!

  • @perchanceM
    link
    English
    1
    edit-2
    26 days ago

    Ah thanks, found and deleted it - old code that had no effect anymore (it had no impact on the issue you’ve reported here, to be clear - it’s unfortunate how hard it is to track down async stuff like this via pausing the debugger, which I’m guessing is how you hit upon this false positive).

    • @wthit56OP
      link
      English
      126 days ago

      Yeah, it was a pause–because of the loading thing still going I thought it was caught in a loop or something. Which… it sort of was, and sort of not 😂