-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
The stop/0 functions in underack.supervisor and underack.busboard call gen_server:call on supervisor processes. Supervisors are not gen_servers, so these calls will fail.
Current Code
In src/underack/supervisor.lfe:
(defun stop ()
(gen_server:call (SERVER) 'stop))In src/underack/busboard.lfe:
(defun stop ()
(gen_server:call (SERVER) 'stop))Suggested Fix
Either:
- Remove these functions and let application shutdown handle supervisor termination
- Use appropriate supervisor API calls
- If explicit stop is needed, consider
supervisor:terminate_child/2or sending a shutdown signal
Files
src/underack/supervisor.lfesrc/underack/busboard.lfe
Priority
P0 - These functions will crash when called.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working