Bug 901527: null pointer when resetting a resampler r=roc