Skip to content

Commit

Permalink
fix: thread __repr__ makes solara hang
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Mar 11, 2024
1 parent 442964a commit b21af2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion solara/server/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def WidgetContextAwareThread__init__(self, *args, **kwargs):
try:
self.current_context = kernel_context.get_current_context()
except RuntimeError:
logger.debug(f"No context for thread {self}")
logger.debug(f"No context for thread {self._name}")


def WidgetContextAwareThread__bootstrap(self):
Expand Down Expand Up @@ -358,6 +358,7 @@ def patch_ipyreact():
# make this a no-op, we'll create the widget when needed
ipyreact.importmap._update_import_map = lambda: None


def patch_ipyvue_performance():
import functools
from collections.abc import Iterable
Expand Down

0 comments on commit b21af2e

Please sign in to comment.