Error: @nogc function run cannot call non- at nogc destructor TcpServer.~this

Newbie2019 newbie2019 at gmail.com
Wed Jul 17 15:39:35 UTC 2019


On Wednesday, 17 July 2019 at 12:16:54 UTC, Adam D. Ruppe wrote:
> It is also possible a member of the struct has a destructor 
> that is triggering it.

Thanks, I check all member and one of them is not @nogc nothrow. 
add @nogc nothrow to member fix it.


More information about the Digitalmars-d-learn mailing list