Fix crasher in createTimerWithTimeInterval