      */
     
     func connected(socket: WebSocket) -> Receive {
-        return {[unowned self](msg : Actor.Message) in
+        return {[weak self](msg : Actor.Message) in
             switch(msg) {
             case let c as SendMessage:
                 socket.writeString(c.message)

    */
    
    deinit {
        self.this ! Disconnect(sender: nil)
    }
    
}
            case is Disconnect:
                socket.disconnect()
                socket.delegate = nil
                if let selfo = self {
                    selfo.unbecome()
                }
                
            default:
                if let selfo = self {
                    selfo.receive(msg)
                }
            }
        }
    }
