ensure we are clearing the global function

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)