Gyroscope problem. Endless spinning!

We have a gyroscope and its controlling our turning on our robot.
We are trying to get our robot to move 45 degrees to the left.
I have it programmed like this:

move (-69, 69); //move(left, right). Left drive@-69 power and right at 69 power
while(SensorValue[gyro] > -450) {}; 

I’ve also tried

while(SensorValue[gyro] > -450) {
     move(-69, 69);

and it still doesn’t work. The problem is that our robot will not stop. It will continue rotating until we cut the program.
Any advice? Thanks.

Am I allowed to bump?