You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: properly handle async service cleanup in LocalBackend.close()
The close() method was calling service.close() without checking if it was
async, causing resource leaks when services had async cleanup methods.
This fix:
- Makes LocalBackend.close() async to match the base Backend class
- Properly awaits async service close methods
- Maintains backward compatibility for sync close methods
- Handles __exit__ context manager compatibility
Prevents GPU memory leaks and zombie processes in production deployments.
0 commit comments