[MWF] Fix hang if clipboard source application closes down (fixes #674098)
authorTom Hindle <tom_hindle@sil.org>
Tue, 30 Aug 2011 14:56:37 +0000 (16:56 +0200)
committerEberhard Beilharz <eb1@sil.org>
Fri, 28 Feb 2014 16:31:22 +0000 (17:31 +0100)
commit4813a70a299a99a6be74e3156090aed6e3f4dd43
treeff276c156cb2e94b2589824b3ce2a23f146daec0
parent2009c2284e5073d16341d31c5b5309273a3db957
[MWF] Fix hang if clipboard source application closes down (fixes #674098)

This change adds a timeout to the Clipboard.Enumerating loop, making a
hang less likely. This fixes Novell bug #674098
(https://bugzilla.novell.com/show_bug.cgi?id=674098).
mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs