Fixed an issue where the app would crash on close
when pads are set to Sampler mode. Confused at the
fix though because originally this line was used to fix
another similar issue.