Skip to content

NIOSingletons: Make EventLoopGroup shutdown throw #2472

@weissi

Description

@weissi

Once we have #2471

The EventLoopGroups returned from NIOSingletons should throw if anybody attempts to shut them down. We just need some _internalParameter to MultiThreadedEventLoopGroup.init that disallows shutdown. There's precedent for this: The EventLoops you get from MultiThreadedEventLoopGroup.next() also throw on shutdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions