The Rebbe advises that if possible, learning should not be entirely stopped due to heat. Even a temporary pause is discouraged, as Torah study should continue regularly.
... במש"כ ע"ד הפסק הלימוד לגמרי בהב"ר למשך חודש מפני החום וכו' - הנה אם א"א שאני. אבל בדאפשר, מובן שהפסק לגמרי אינו רצוי כלל וכלל. ואם תעזבני יום וכו' ומכש"כ זמן ארוך.