From fdf0ede2acd110ba04857d5674db19c908b3ff32 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 13 Nov 2019 23:14:48 -0500 Subject: 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. --- core/resources.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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)| ()) } -- cgit v1.2.3