mirror of
				https://github.com/smallnest/rpcx.git
				synced 2025-11-01 03:42:38 +08:00 
			
		
		
		
	fix inprocess registry
This commit is contained in:
		| @@ -153,3 +153,10 @@ func (client *inprocessClient) Register(name string, rcvr interface{}, metadata | ||||
| 	client.Unlock() | ||||
| 	return | ||||
| } | ||||
|  | ||||
| func (client *inprocessClient) Unregister(name string) error { | ||||
| 	client.Lock() | ||||
| 	delete(client.services, name) | ||||
| 	client.Unlock() | ||||
| 	return nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 smallnest
					smallnest