Closing tabs in Safari freezes Macbook
I've had a problem with Safari. I'm running El Capitan on a Macbook Pro 15" mid-2014. I noticed this problem on Yosemite as well, though. It hasn't happened a whole lot of times but TWICE today, so it's getting annoying. When I close a tab in Safari it freezes the browser and the entire Mac. Sometimes I can move the cursor but other times even that is frozen. Then I have to wait maybe 15-20-25 seconds before it unfreezes. I think it mostly happens on youtube actually. Is this something you're familiar with? Also, after it unfreezes my Mac runs slower, like laggy, so I have to restart.
Hope you can help.
Jonas
MacBook Pro with Retina display, iOS 9.0.2, Mid-2014