On Monday, 10 June 2019 at 19:48:18 UTC, Steven Schveighoffer
wrote:
On 6/9/19 1:25 AM, Amex wrote:
On Saturday, 8 June 2019 at 20:44:13 UTC, Steven Schveighoffer
wrote:
Try GC.addRef on the X reference, and see if it helps.
This is during shutdown so I imagine simply turning off the GC
sho
On 6/9/19 1:25 AM, Amex wrote:
On Saturday, 8 June 2019 at 20:44:13 UTC, Steven Schveighoffer wrote:
Try GC.addRef on the X reference, and see if it helps.
This is during shutdown so I imagine simply turning off the GC should
work fine? That way it prevents all cases rather than having to ad
On Saturday, 8 June 2019 at 20:44:13 UTC, Steven Schveighoffer
wrote:
On 6/8/19 2:28 AM, Amex wrote:
On Friday, 7 June 2019 at 16:09:47 UTC, Adam D. Ruppe wrote:
It happens when I close down my app.
is this inside a destructor?
No, it's in an external thread(it is in a callback). All I can
On 6/8/19 2:28 AM, Amex wrote:
On Friday, 7 June 2019 at 16:09:47 UTC, Adam D. Ruppe wrote:
It happens when I close down my app.
is this inside a destructor?
No, it's in an external thread(it is in a callback). All I can think of
is that something is happening in between the two checks sinc
On Friday, 7 June 2019 at 16:09:47 UTC, Adam D. Ruppe wrote:
It happens when I close down my app.
is this inside a destructor?
No, it's in an external thread(it is in a callback). All I can
think of is that something is happening in between the two checks
since there is no way it could happ
It happens when I close down my app.
is this inside a destructor?
On Friday, 7 June 2019 at 14:07:34 UTC, KnightMare wrote:
On Friday, 7 June 2019 at 09:26:52 UTC, Amex wrote:
if (X !is null && X.Y !is null) access crash
is crashing.
imo this code is valid. u can write shorter
if (X && X.Y)
probably crashed in some another place (X i
On Friday, 7 June 2019 at 09:26:52 UTC, Amex wrote:
if (X !is null && X.Y !is null) access crash
is crashing.
imo this code is valid. u can write shorter
if (X && X.Y)
probably crashed in some another place (X is not objRef but
something else.. some code later at same line.. dunno)
I don't understand why
if (X !is null && X.Y !is null) access crash
is crashing.
It is true that it is being used in a thread. It happens when I
close down my app.
The whole point of the check is to make sure X is not null but it
seems to be failing.
The debugger is showing