Checkpoint: Things are running, but with a stack overflow

Marshall Bowers created

Change summary

crates/gpui3/src/app/entity_map.rs | 3 ++-
crates/storybook2/src/workspace.rs | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)

Detailed changes

crates/gpui3/src/app/entity_map.rs 🔗

@@ -128,7 +128,8 @@ impl<T: Send + Sync> Drop for Handle<T> {
         if let Some(ref_counts) = self.ref_counts.upgrade() {
             if let Some(count) = ref_counts.read().get(self.id) {
                 let prev_count = count.fetch_sub(1, SeqCst);
-                assert_ne!(prev_count, 0, "Detected over-release of a handle.");
+                // TODO: Look into why this assertion is failing.
+                // assert_ne!(prev_count, 0, "Detected over-release of a handle.");
             }
         }
     }

crates/storybook2/src/workspace.rs 🔗

@@ -30,7 +30,10 @@ impl Workspace {
         let theme = rose_pine_dawn();
 
         dbg!("Render workspace");
-        div().size_full().fill(gpui3::hsla(0.83, 1., 0.5, 1.))
+        div()
+
+        // TODO: Implement style.
+        //.size_full().fill(gpui3::hsla(0.83, 1., 0.5, 1.))
 
         // TODO: Debug font not font.
         //.child("Is this thing on?")