Skip to content

Commit e7fce43

Browse files
committed
Merge remote-tracking branch 'cpp-lln-lab/master'
2 parents 90316ff + 6109ffc commit e7fce43

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cleanUp.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ function cleanUp()
1616
% Screen Close All
1717
sca;
1818

19-
% % Shut down connection with Eyelink
20-
if cfg.eyeTracker.do
21-
Eyelink('shutdown');
19+
% Shut down connection with Eyelink
20+
try
21+
Eyelink('shutdown')
22+
catch
2223
end
2324

2425
% Close Psychportaudio if open

0 commit comments

Comments
 (0)