<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro executable won&#39;t close completely on Windows 10</title>
		<link>http://www.allegro.cc/forums/view/617316</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 15 Mar 2018 03:10:55 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi guys,</p><p>when I run Brutalo Deluxe, close it and then try to delete or move the executable I get an error message saying that the file is still in use and the action cannot be performed. Indeed the binary still shows up in the task manager even though the window closed and the game was shut down properly. This only happens on Windows 10 and not on Windows 7.</p><p>Do you have any clue? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Frank Drebin)</author>
		<pubDate>Wed, 14 Mar 2018 02:49:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t have a clue, but I&#39;d suggest cutting down your code until you have a minimal example that exhibits the behaviour.  Since this isn&#39;t a common problem, the cause is something unique to your program.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Wed, 14 Mar 2018 04:26:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I actually see this fairly often. If you call <span class="source-code"><a href="http://www.allegro.cc/manual/al_uninstall_system"><span class="a">al_uninstall_system</span></a><span class="k2">(</span><span class="k2">)</span></span> before exiting, it should abate.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Wed, 14 Mar 2018 20:25:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks for your hints! Putting <span class="source-code"><a href="http://www.allegro.cc/manual/allegro_exit"><span class="a">allegro_exit</span></a><span class="k2">(</span><span class="k2">)</span></span> at the end of the main function seems to solve the problem!!! Also, I could track down the line of code causing this issue: it seems to be the call <span class="source-code"><a href="http://www.allegro.cc/manual/set_color_depth"><span class="a">set_color_depth</span></a><span class="k2">(</span><span class="n">32</span><span class="k2">)</span></span> before setting the graphics mode (trying windowed mode first and then fullscreen mode).</p><p>However, I&#39;m still wondering what&#39;t the root cause ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Frank Drebin)</author>
		<pubDate>Thu, 15 Mar 2018 03:10:55 +0000</pubDate>
	</item>
</rss>
