public static void ReturnBundle(ServerBundle bundle) { if (bundle == null) { return; } lock (serverBundlePool) { bundle.Reset(); serverBundlePool.Enqueue(bundle); } }