Respect end-tracing script instead of deleting one variable
#938
+84
−8
end-tracing script instead of deleting one variable
#938