Method: SystemBrowser::Client#close
- Defined in:
- lib/system_browser/client.rb
#close ⇒ void
This method returns an undefined value.
Destroys the window by sending the SIGINT signal (the window has its own handlers to destroy itself, so it’s not our job). Does not wait for anything.
59 60 61 62 63 |
# File 'lib/system_browser/client.rb', line 59 def close SLogger.debug("[client] interrupting window (#{@window_pid})...") Process.kill(:INT, @window_pid) end |