this method is called upon filter shutdown typically this is also during stream shutdown and is executed after the flush method is called if any resources were allocated or initialzed during oncreate this would be the time to destroy or dispose of them 