Share screen

Why when I click on share screen quit both the program and the Chrome browser?