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 Apr 15, 2024
1 parent 8a04d44 commit b48b1e7
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 @@ -361,6 +361,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 b48b1e7

Please sign in to comment.