blob: 3697bac815e5b3380e0453af51e370df67910e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[;1m-spec unregister(RegName) -> true when RegName :: atom().[0m
Removes the [;;4mregistered name[0m [;;4mRegName[0m associated with a process
identifier or a port identifier from the [;;4mname registry[0m. For
example:
> unregister(db).
true
Keep in mind that you can still receive signals associated with
the registered name after it has been unregistered as the sender
may have looked up the name before sending to it.
Users are advised not to unregister system processes.
Failure: [;;4mbadarg[0m if [;;4mRegName[0m is not a registered name.
|