It seems I keep running up against this problem of having my plugin run the first time, only to crash on the second…
So, in commenting things out to isolate the offending code, I’ve been able to isolate where it occurs. The attached archive is my project, and if you open the FMLab.csd file, and run it, it will run multiple times without issue. The problem occurs when you uncomment lines 77-80 in the file “guihelper.orc”, it will run fine the first time, but upon the second run, it crashes Cabbage. I also tried to uncomment other lines after this, and it still crashes, any code past line 76 in “guihelper.orc” will crash Cabbage.
What I don’t understand is that this instr is only trying to access the value of it’s associated widget.
Archive.zip (17.1 KB)