diff --git a/Carbon.Core/Carbon.Components/Carbon.Common b/Carbon.Core/Carbon.Components/Carbon.Common index 1ee57e2ed..a9cf32e8a 160000 --- a/Carbon.Core/Carbon.Components/Carbon.Common +++ b/Carbon.Core/Carbon.Components/Carbon.Common @@ -1 +1 @@ -Subproject commit 1ee57e2ed013a8271b16fded514521cefebef484 +Subproject commit a9cf32e8a1a21f99e3622858e4617e3217d5c3c1 diff --git a/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs b/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs index 7dbfd683f..63d18a213 100644 --- a/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs +++ b/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs @@ -535,8 +535,8 @@ public void Dispose() } Sources?.Clear(); - Sources = null; Scripts?.Clear(); + Sources = null; Scripts = null; Community.Runtime.ScriptProcessor.StopCoroutine(Compile()); diff --git a/Tools/Build/linux/update.sh b/Tools/Build/linux/update.sh index dd6b7e444..861169d67 100755 --- a/Tools/Build/linux/update.sh +++ b/Tools/Build/linux/update.sh @@ -10,7 +10,7 @@ BASE="$(cd -- "$(dirname "$0")" >/dev/null 2>&1; pwd -P)" ROOT="$(realpath "${BASE}/../../../")" # Get the target depot argument -TARGET=${1:-release} +TARGET=${1:-public} mono "${ROOT}/Tools/Helpers/CodeGen.exe" \ --plugininput "${ROOT}/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Core" \ diff --git a/Tools/Build/win/update.bat b/Tools/Build/win/update.bat index 245194830..d8081b86a 100644 --- a/Tools/Build/win/update.bat +++ b/Tools/Build/win/update.bat @@ -10,7 +10,7 @@ popd rem Get the target depot argument if "%1" EQU "" ( - set UPDATE_TARGET=release + set UPDATE_TARGET=public ) else ( set UPDATE_TARGET=%1 )