docb / dbRackModules

GNU General Public License v3.0
15 stars 1 forks source link

Font references stored across frames #1

Closed cschol closed 2 years ago

cschol commented 2 years ago

Interface module stored references to font across frame. This leads to crash of the VST.

  Interface *module;
  LabelField() : TextField() {
    font=APP->window->loadFont(asset::plugin(pluginInstance,"res/FreeMonoBold.ttf"));
    defaultTextColor=nvgRGB(0x20,0x44,0x20);
    textColor=defaultTextColor;
    backgroundColor=nvgRGB(0xcc,0xcc,0xcc);