https://issues.dlang.org/show_bug.cgi?id=17448

Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #20 from Walter Bright <bugzi...@digitalmars.com> ---
With the current compiler, and the addition of @safe:

  test.d(13): Error: address of variable `this` assigned to `timeoutCallback`
with longer lifetime

Line 13 is:

        timeoutCallback = &handleTimeout;

I believe this should resolve the issue.

--

Reply via email to