Find the critical numbers of the function where $-\pi < \theta < \pi$, and list them separated by commas.

Critical numbers: