Object Pooler wont stop once started

I am using a script to load objects from a pool (projectiles) within a coroutine. The problem is after 24 seconds I need this to stop but the coroutine just keeps going and going even though I set it to be null at the end of the 24 seconds. Do I need to call a specific command for the Object Pooler to stop is respawning projectiles? I use this to spawn them:

objectPooler.SpawnFromPool(Shot, shotSpawn.position, shotSpawn.rotation);

What Object Pooler are you using? Prebuilt asset or custom made? Post it so we can see.

Sorry please disregard, I solved the problem almost as soon as I posted the thread :rage: