<commit_before>package com.chiorichan;


public class ServerShutdownThread extends Thread
{
	private final Loader server;
	
	public ServerShutdownThread(Loader loader)
	{
		this.server = loader;
	}
	
	@Override
	public void run()
	{
		try
		{
			server.shutdown();
		}
		catch ( Exception ex )
		{
			ex.printStackTrace();
		}
		finally
		{
			try
			{
				Loader.getConsole().getReader().getTerminal().restore();
			}<commit_msg>Fixed a small undetected issue with server shutdowns.<commit_after>package com.chiorichan;


public class ServerShutdownThread extends Thread
{
	private final Loader server;
	
	public ServerShutdownThread(Loader loader)
	{
		this.server = loader;
	}
	
	@Override
	public void run()
	{
		try
		{
			//server.shutdown();
		}
		catch ( Exception ex )
		{
			ex.printStackTrace();
		}
		finally
		{
			try
			{
				Loader.getConsole().getReader().getTerminal().restore();
			}
{'fraction_non_alphanumeric': 0.10975609756097561, 'fraction_numerical': 0.0, 'mean_word_length': 3.279620853080569, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2554190', 'n_tokens_mistral': 350, 'n_tokens_neox': 291, 'n_words': 65}