Add compression function and Place compressor to SDK #61

Closed
IDeletedSystem64 wants to merge 2 commits from rblxcompressor into master
2 changed files with 1 additions and 1 deletions
Showing only changes of commit 0ee099cb7a - Show all commits

View File

@ -846,7 +846,6 @@ namespace Novetus.Core
int n;
while ((n = input.Read(buffer, 0, buffer.Length)) > 0)
{
throw new Exception();
compressor.Write(buffer, 0, n);
}
}

View File

@ -53,6 +53,7 @@ public partial class PlaceCompressor : Form
finally
{
selectButton.Enabled = true;
System.GC.Collect(); // I know this isn't recommended, but repeated use in a single session can cause memory leaks otherwise.
if (!successful) { processStatus.Text = "Error"; }
else
{