~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/samples/StillMotion/StillMotion.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
{
13
13
        public partial class StillMotionDocument : NSDocument
14
14
        {
 
15
                NSWindowController windowController;
15
16
                QTMovie movie;
16
17
                QTCaptureSession captureSession;
17
18
                QTCaptureDeviceInput captureInput;
34
35
                {
35
36
                        base.WindowControllerDidLoadNib (windowController);
36
37
 
 
38
                        // A reference to the window controller must be kept on the managed side
 
39
                        // to keep the object from being GC'd so that the delegates below resolve.
 
40
                        // Don't remove unless the framework is updated to track the reference.
 
41
                        this.windowController = windowController;
 
42
 
37
43
                        NSError err;
38
44
                        
39
45
                        windowController.Window.WillClose += delegate {