using System;
using System.Runtime.InteropServices;

namespace LibGPhoto2
{
	public class Context : Object
	{
		[DllImport ("libgphoto2.so")]
		internal static extern IntPtr gp_context_new ();

		public Context ()
		{
			this.handle = new HandleRef (this, gp_context_new ());
		}
		
		[DllImport ("libgphoto2.so")]
		internal static extern void gp_context_unref   (HandleRef context);

		protected override void Cleanup ()
		{
			System.Console.WriteLine ("cleanup context");
			gp_context_unref(handle);
		}
	}
}

using System;
using System.Runtime.InteropServices;

namespace LibGPhoto2
{
	public class Context : Object
	{
		[DllImport ("libgphoto2.so")]
		internal static extern IntPtr gp_context_new ();

		public Context ()
		{
			this.handle = new HandleRef (this, gp_context_new ());
		}
		
		[DllImport ("libgphoto2.so")]
		internal static extern void gp_context_unref   (HandleRef context);

		protected override void Cleanup ()
		{
			gp_context_unref(handle);
		}
	}
}

Remove random context cleanup console output
Remove random context cleanup console output

git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@8996 67ed7778-7388-44ab-90cf-0a291f65f57c
