Declare locals in destroyObservable

It appears that destroyObservable is using all global variables. Is that correct?