Closed Asd-g closed 10 months ago
Yep, StackHorizontal is using std::vector for storing the clips, which gets freed up properly. Interleave is just putting the clip into a PClip* array, which is left unfreed when and exception occurs. I made it similar to StackHorizontal/Vertical, and going to upload to git after some more tests.
In the above case
Interleave
gives error that both clips must be of the same size but the c_plugin destructor is never triggered. For example, ifStackHorizontal
is used insteadInterleave
for this case, the c_plugin destructor is called.