810b2fb78d
We accomplish this by explicitly setting the global_obs to NULL after free'ing it. The crash that led to this fix can be replicated as such $ sendosc localhost 3819 /set_surface i 8 i 159 i 8 $ sendosc localhost 3819 /set_surface i 0 i 0 i 0 $ sendosc localhost 3819 /set_surface i 0 i 0 i 0 In this example the observer is created, then free'd, and then free'd *again* because the new observer was never made (sur->feedback[x] checks fail) |
||
---|---|---|
.. | ||
MSVCardour_osc | ||
interface.cc | ||
osc_controllable.cc | ||
osc_controllable.h | ||
osc_cue_observer.cc | ||
osc_cue_observer.h | ||
osc_global_observer.cc | ||
osc_global_observer.h | ||
osc_gui.cc | ||
osc_gui.h | ||
osc_route_observer.cc | ||
osc_route_observer.h | ||
osc_select_observer.cc | ||
osc_select_observer.h | ||
osc.cc | ||
osc.h | ||
wscript |