jboner/akka — comment on commit 65a9eddbdac3423aa041898e0c73d9252499da00
File: akka-remote/src/main/scala/akka/remote/RemoteExtension.scala line 29
By viktorklang:

Don't like this part, remoting should be loaded at startup, only.

We should consider having registerExtension take: Creator[Extension[T]] and => Extension[T] if we want to avoid multiple creation.

We also need to provide a shutdown hook for extensions that are executed on shutdown so the extension can clean up.