When I restart my Mac, it seems mac will quit plugin host before sublime text. Therefore there will be an alert pop out that prevent the computer from restarting:
plugin_host-3.8 has exited unexpectedly, some plugin functionality won’t be available until Sublime Text has been restarted
I’m using Sublime Text 4 build 4192