Open
Description
When a ToasterMessage is created with duration > 0, it creates a timer to hide it automatically after elapsed time. If the message is destroyed before the timout, the timer is destroyed as well. However destroy function causes uncaught exception, because the timer promise is not fulfilled:
this.destroy = function () {
if (! _fulfilled) {
reject();
}
};
Metadata
Assignees
Labels
No labels