Skip to content

Commit

Permalink
kill server using the dedicated method
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Jun 13, 2024
1 parent cd67d20 commit dbc3308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schwab/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def kill_server():
now = __TIME_TIME()

# Clean up and create the client
psutil.Process(server.pid).kill()
kill_server()

if callback_url:
return __fetch_and_register_token_from_redirect(
Expand Down

0 comments on commit dbc3308

Please sign in to comment.