diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-11-13 23:14:48 -0500 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-13 23:42:35 -0500 |
commit | fdf0ede2acd110ba04857d5674db19c908b3ff32 (patch) | |
tree | 880252cadf6dd5024fe4d32dca7ab903af55e713 /core/resources.rs | |
parent | fd62379eafde6571f126df5650b80cfda9f74229 (diff) |
Revert "refactor: per-worker resource table (#3306)"
This patch does not work with the recent bundler changes (#3325).
Unfortunately I didn't merge master before landing this patch. It has
something to do with console.log not working inside the compiler worker.
This reverts commit fd62379eafde6571f126df5650b80cfda9f74229.
Diffstat (limited to 'core/resources.rs')
-rw-r--r-- | core/resources.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/resources.rs b/core/resources.rs index 216f5c8df..da4fb6b07 100644 --- a/core/resources.rs +++ b/core/resources.rs @@ -65,7 +65,7 @@ impl ResourceTable { } // close(2) is done by dropping the value. Therefore we just need to remove - // the resource from the resource table. + // the resource from the RESOURCE_TABLE. pub fn close(&mut self, rid: ResourceId) -> Option<()> { self.map.remove(&rid).map(|(_name, _resource)| ()) } |