Skip to content

Commit 0442924

Browse files
committed
Fix plugin timeout causing compiler to shutdown
1 parent bce138c commit 0442924

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/CSharpPluginLoader.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Oxide.Core;
1+
using Oxide.Core;
22
using Oxide.Core.Plugins;
33
using Oxide.Core.Logging;
44
using Oxide.CSharp;
@@ -253,11 +253,6 @@ private void PluginLoadingCompleted(CompilablePlugin plugin)
253253
LoadingPlugins.Remove(plugin.Name);
254254
plugin.IsLoading = false;
255255

256-
if (plugin.CompilerErrors != null && plugin.CompilerErrors.StartsWith("Timed out waiting for compilation"))
257-
{
258-
compiler.OnCompileTimeout();
259-
}
260-
261256
foreach (string loadingName in LoadingPlugins.ToArray())
262257
{
263258
CompilablePlugin loadingPlugin = GetCompilablePlugin(plugin.Directory, loadingName);

0 commit comments

Comments
 (0)