On 5 March 2017 at 11:03, Esteban Lorenzano <esteba...@gmail.com> wrote:

>
> On 5 Mar 2017, at 05:00, Alexander Samoylovich <samoylov...@gmail.com>
> wrote:
>
> Hi Ronie, Esteban.
>
> Ronie's suggestion in the form Esteban presented it helped.
> After implementing the fix I failed to crash my application any more.
>
> Will anybody be so kind to explain me what actually happens and why the
> fix works?
> It looks so innocent.
>
>
> Cairo Surface is GCd if not kept while using it… then your system go BOOM
> :P
> that’s why we need to be sure it will not be disposed before it’s time
> (hence we kept it in the form that needs to be displayed).
>
> Well, this surely helps when you changing session(s). But doesn't helps
when you crashing within a single session.
A smarter approach will be to recreate surface at attempt to use in new
session, to avoid keeping copy of data around..


> Esteban
>
>


-- 
Best regards,
Igor Stasenko.

Reply via email to