Skip to content

Commit f216b0c

Browse files
committed
Bump version, rebuild
1 parent a7dd027 commit f216b0c

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

dist/most.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,12 +1015,11 @@ return /******/ (function(modules) { // webpackBootstrap
10151015
};
10161016

10171017
function ValueProducer(emit, x, sink, scheduler) {
1018-
this.task = new PropagateTask(emit, x, sink);
1019-
scheduler.asap(this.task);
1018+
this.task = scheduler.asap(new PropagateTask(emit, x, sink));
10201019
}
10211020

10221021
ValueProducer.prototype.dispose = function() {
1023-
return this.task.dispose();
1022+
return this.task.cancel();
10241023
};
10251024

10261025

@@ -2310,10 +2309,16 @@ return /******/ (function(modules) { // webpackBootstrap
23102309
};
23112310

23122311
Scheduler.prototype.cancelAll = function(f) {
2313-
this._tasks = base.removeAll(f, this._tasks);
2312+
for(var i=0; i<this._tasks.length; ++i) {
2313+
removeAllFrom(f, this._tasks[i]);
2314+
}
23142315
this._reschedule();
23152316
};
23162317

2318+
function removeAllFrom(f, timeslot) {
2319+
timeslot.events = base.removeAll(f, timeslot.events);
2320+
}
2321+
23172322
Scheduler.prototype._reschedule = function() {
23182323
if(this._tasks.length === 0) {
23192324
this._unschedule();
@@ -3739,7 +3744,7 @@ return /******/ (function(modules) { // webpackBootstrap
37393744

37403745
Outer.prototype.end = function(t, x) {
37413746
this.active = false;
3742-
this.disposable.dispose();
3747+
dispose.tryDispose(t, this.disposable, this.sink);
37433748
this._checkEnd(t, x);
37443749
};
37453750

dist/most.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/most.min.js.gz

-12.8 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "most",
3-
"version": "0.18.1",
3+
"version": "0.18.2",
44
"description": "Monadic streams",
55
"main": "most.js",
66
"files": [

0 commit comments

Comments
 (0)