Browse Source

fix: failed assertion when restoring dynamically loaded module patch state

pull/1639/head
bsp2 6 years ago
parent
commit
2b5f1d174e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/vst2_main.cpp

+ 2
- 0
src/vst2_main.cpp View File

@@ -891,6 +891,7 @@ public:

sUI getProgramChunk(uint8_t**_addr) {
setGlobals();
vst2_set_shared_plugin_tls_globals();
if(NULL != last_program_chunk_str)
{
::free(last_program_chunk_str);
@@ -912,6 +913,7 @@ public:
bool setProgramChunk(size_t _size, uint8_t *_addr) {
setGlobals();
lockAudio();
vst2_set_shared_plugin_tls_globals();
#if 0
Dprintf("xxx vstrack_plugin:setProgramChunk: size=%u\n", _size);
#endif


Loading…
Cancel
Save