mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
catch possible null refs
This commit is contained in:
@@ -69,7 +69,7 @@ namespace OpenSim.Framework.Monitoring
|
||||
"jobengine",
|
||||
StatType.Pull,
|
||||
MeasuresOfInterest.None,
|
||||
stat => stat.Value = JobEngine.JobsWaiting,
|
||||
stat => stat.Value = JobEngine == null ? 0 : JobEngine.JobsWaiting,
|
||||
StatVerbosity.Debug));
|
||||
|
||||
MainConsole.Instance.Commands.AddCommand(
|
||||
|
||||
Reference in New Issue
Block a user