Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Codecompletions relatively-new crash fixed! :D

(1/1)

rickg22:
It was something stupid. I had placed the critical sections in the heap (each with one tokens store). IN THEORY this shouldn't be any problem because the usage would keep the critical section in memory, but hey, this is Windows(TM).

I put back the critical section to where it belonged, and voila.

Ceniza:
I have my doubts...

Maybe what you had before was a bunch of critical sections and now you're just replacing it by a single one.

Anyway, if that makes the crashes go away... it's good then :)

thomas:
... and it still deadlocks in the case of an exception being thrown.

I still think that using automatic lockers is a really good idea, it avoids that problem alltogether, and it is faster, too.

rickg22:
exceptions? :( What exceptions?

Navigation

[0] Message Index

Go to full version