Mental illness, as we know it was seldom acknowledged in the 1940's unless it became unmanageable. It was a hidden disease. Psychoanalysis ca. Freud and Jung were popular as were frontal lobectomies for the violent. If the client was wealthy and bored they went to a sanitarium for a "rest" and psychoanalysis.