guard against a destroyed SampleSource