Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit c007279

Browse files
committed
fix typos in comment
1 parent cb07976 commit c007279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/observe.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@
422422
* TODO(rafaelw): Implement "garbage collection". In order to move work off
423423
* the critical path, when Observers are closed, their observed objects are
424424
* not Object.unobserve(d). As a result, it's possible that if the observedSet
425-
* is kept open, but some Observers have been closed, it could case "leaks"
426-
* (reprevent otherwise collectable objects from being collected). At some
425+
* is kept open, but some Observers have been closed, it could cause "leaks"
426+
* (prevent otherwise collectable objects from being collected). At some
427427
* point, we should implement incremental "gc" which keeps a list of
428428
* observedSets which may need clean-up and does small amounts of cleanup on a
429429
* timeout until all is clean.

0 commit comments

Comments
 (0)