snarez/metasploit-framework — comment on commit b9a5352ac447493a2dc2b35982ef76f6d775a0ac
File:  line 0
By todb-r7:

Thanks for the bugfix, but it looks to me a better solution might be to explcitly add an add_socket(@servicename.socket) instead, since socket() returns a Socket object, while the start() method returns a Thread method. I'm going to commit that insted, unless you have some compelling reason to stick to the thread object.