@yuhuisg Whatever written inside the unload event gets executed unless it's an async activity. But I asssume there was this race condition before, when I tried to set the js variable inside unload vs the unload event. After setting the js variable, currently I'm setting evars, props and events insid...