Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

A. Troubleshooting tips > Problem: Things work for a while and then mysteriousl...

Problem: Things work for a while and then mysteriously stop

Did you remember to hang on to your context? If you do this, your context, and usually everything in it, will eventually be garbage collected:

var unstableContext:SomeContext = new SomeContext(this);

So always make sure to hang on to your context in a property:

protected var _context:MosaicContext;

public function mosaictool()
{
    _context = new MosaicContext(this);
}

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial